From 64a3d47283a17817c13ae4b75e5459ee5534dfbb Mon Sep 17 00:00:00 2001 From: Henry Date: Sun, 2 Aug 2020 22:26:02 +0100 Subject: [PATCH] fix: try to fix the action scope issue --- .github/workflows/comment-on-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/comment-on-pr.yml b/.github/workflows/comment-on-pr.yml index 2297fa4eca..cd414f9a90 100644 --- a/.github/workflows/comment-on-pr.yml +++ b/.github/workflows/comment-on-pr.yml @@ -10,7 +10,7 @@ jobs: comment: runs-on: ubuntu-latest steps: - - if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' + - if: github.event_name == 'pull_request' && github.event.pull_request.head.user.login != 'dependabot[bot]' && github.event.pull_request.head.user.login != 'dependabot-preview[bot]' name: Comment on PR uses: github-actions-up-and-running/pr-comment@v1.0.1 with: