From d7d7caf30c797012e00f2f755b0402d339eb624a Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Tue, 2 Jan 2024 20:58:22 +0000 Subject: [PATCH] Use PR author instead of actor for dependabot PRs --- .github/workflows/build-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 384b22c42a..09675d136a 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -3952,7 +3952,7 @@ jobs: dependabot: runs-on: ubuntu-20.04 needs: [ validate-success ] - if: github.actor == 'dependabot[bot]' + if: github.event.pull_request.user.login == 'dependabot[bot]' permissions: contents: write pull-requests: write