From 7ca68c0831e0c89aa9266cbaf100f5f04b04caba Mon Sep 17 00:00:00 2001 From: Hasan Turken Date: Mon, 21 Nov 2022 14:05:26 +0300 Subject: [PATCH] Contributors can also trigger e2e Signed-off-by: Hasan Turken --- .github/workflows/pr-comment-trigger.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-comment-trigger.yml b/.github/workflows/pr-comment-trigger.yml index 4c75e4a..4e5b7e9 100644 --- a/.github/workflows/pr-comment-trigger.yml +++ b/.github/workflows/pr-comment-trigger.yml @@ -33,7 +33,7 @@ jobs: echo "github.event.comment.body: ${{ github.event.comment.body }}" get-example-list: - if: ${{ (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'COLLABORATOR' ) && + if: ${{ (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'CONTRIBUTOR' ) && github.event.issue.pull_request && contains(github.event.comment.body, inputs.trigger-keyword ) }} runs-on: ubuntu-22.04 @@ -89,7 +89,7 @@ jobs: -f context="Uptest-${{ steps.get-example-list-name.outputs.example-hash }}" uptest: - if: ${{ (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'COLLABORATOR' ) && + if: ${{ (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'CONTRIBUTOR' ) && github.event.issue.pull_request && contains(github.event.comment.body, inputs.trigger-keyword ) }} runs-on: ubuntu-22.04