Skip to content

Commit

Permalink
Merge pull request #4997 from mozilla/dependabot-login-instead-of-actor
Browse files Browse the repository at this point in the history
Use pull request user login to detect "dependabot[bot]"
  • Loading branch information
jwhitlock authored Sep 4, 2024
2 parents 4e13dd1 + 633e086 commit 1d26fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-glean-parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
jobs:
regen-with-new-glean-parser:
runs-on: ubuntu-latest
if: ${{ (github.actor == 'jwhitlock' || github.actor == 'dependabot[bot]') && startsWith( github.head_ref, 'dependabot/pip/glean-parser' ) }}
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' && startsWith( github.head_ref, 'dependabot/pip/glean-parser' ) }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 1d26fd4

Please sign in to comment.