From 5566d3bb082d4877515b2db2d5ad2062b9eb7c9f Mon Sep 17 00:00:00 2001 From: Barry Gordon Date: Wed, 20 Apr 2022 10:04:52 +0100 Subject: [PATCH] Avoid using actor --- .github/workflows/dependabot-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-build.yml b/.github/workflows/dependabot-build.yml index 8bdd7a5..0266d5b 100644 --- a/.github/workflows/dependabot-build.yml +++ b/.github/workflows/dependabot-build.yml @@ -12,7 +12,7 @@ jobs: # We only want to check the metadata on pull_request events from Dependabot itself, # any subsequent pushes to the PR should just skip this step so we don't go into # a loop on commits created by the `build-dependabot-changes` job - if: ${{ github.actor == 'dependabot[bot]' }} + if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} # Map the step output to a job output for subsequent jobs outputs: dependency-type: ${{ steps.dependabot-metadata.outputs.dependency-type }}