diff --git a/.github/workflows/dependabot-glean-parser.yml b/.github/workflows/dependabot-glean-parser.yml index 75c64d96cc..a6d6d5e711 100644 --- a/.github/workflows/dependabot-glean-parser.yml +++ b/.github/workflows/dependabot-glean-parser.yml @@ -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