diff --git a/.github/workflows/openshift-tests-nos2i.yaml b/.github/workflows/openshift-tests-nos2i.yaml index 6275a9e..cd8c726 100644 --- a/.github/workflows/openshift-tests-nos2i.yaml +++ b/.github/workflows/openshift-tests-nos2i.yaml @@ -14,7 +14,7 @@ jobs: if: | github.event.issue.pull_request - && contains((github.event.comment.body, '[test-nos2i]') || (github.event.comment.body, '[test-all]')) + && (contains(github.event.comment.body, '[test-nos2i]') || contains(github.event.comment.body, '[test-all]')) && contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association) steps: - name: Checkout repo diff --git a/.github/workflows/openshift-tests-s2i.yaml b/.github/workflows/openshift-tests-s2i.yaml index c3afb30..a647f63 100644 --- a/.github/workflows/openshift-tests-s2i.yaml +++ b/.github/workflows/openshift-tests-s2i.yaml @@ -14,7 +14,7 @@ jobs: if: | github.event.issue.pull_request - && contains((github.event.comment.body, '[test-s2i]') || (github.event.comment.body, '[test-all]')) + && (contains(github.event.comment.body, '[test-s2i]') || contains(github.event.comment.body, '[test-all]')) && contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association) steps: - name: Checkout repo