From 97ade96d524f5b432770c667101c98e22efee830 Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Tue, 29 Oct 2024 13:13:43 +0100 Subject: [PATCH] Fix missing brakes in GitHub Action Signed-off-by: Petr "Stone" Hracek --- .github/workflows/openshift-tests-nos2i.yaml | 2 +- .github/workflows/openshift-tests-s2i.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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