diff --git a/.github/workflows/pr_actions.yml b/.github/workflows/pr_actions.yml index 0e274063e3585..299699d080a7b 100644 --- a/.github/workflows/pr_actions.yml +++ b/.github/workflows/pr_actions.yml @@ -10,11 +10,9 @@ jobs: run_lint: name: "On demand linting" if: | - ${{ - github.event.issue.pull_request && - github.event.comment.body == '/lint' && - contains(fromJSON('["COLLABORATOR", "CONTRIBUTOR", "MEMBER", "OWNER"]'), github.event.comment.author_association) - }} + github.event.issue.pull_request && + (github.event.comment.body == '/lint') && + contains(fromJSON('["COLLABORATOR", "CONTRIBUTOR", "MEMBER", "OWNER"]'), github.event.comment.author_association) runs-on: ubuntu-latest steps: - name: Get branch name @@ -59,11 +57,9 @@ jobs: update_test_results: name: "On demand Update Tests Results" if: | - ${{ - github.event.issue.pull_request && - github.event.comment.body == '/update_tests_results' && - contains(fromJSON('["COLLABORATOR", "CONTRIBUTOR", "MEMBER", "OWNER"]'), github.event.comment.author_association) - }} + github.event.issue.pull_request && + (github.event.comment.body == '/update_tests_results') && + contains(fromJSON('["COLLABORATOR", "CONTRIBUTOR", "MEMBER", "OWNER"]'), github.event.comment.author_association) runs-on: ubuntu-latest steps: - name: Get branch name