From 9ca1da6b33eaa78dbe3ba6c54e55b91f29acd989 Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Wed, 21 Feb 2024 17:07:24 +0100 Subject: [PATCH] added missing value --- .github/workflows/review-trigger.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/review-trigger.yml b/.github/workflows/review-trigger.yml index 912c1479e321..1cc2377d2e03 100644 --- a/.github/workflows/review-trigger.yml +++ b/.github/workflows/review-trigger.yml @@ -23,7 +23,8 @@ jobs: run: exit 0 - name: Fail when author pushes new code # Require new reviews when the author is pushing and he is not a member - if: | + if: | + github.event_name == 'pull_request_target' && github.event.action == 'synchronize' && github.event.sender.login == github.event.pull_request.user.login && github.event.pull_request.author_association != 'MEMBER'