diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 175e88e8..d8351029 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -8,7 +8,7 @@ jobs: contents: write id-token: write runs-on: ubuntu-latest - if: github.actor == 'dependabot[bot]' + if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == github.event.pull_request.head.repo.full_name steps: - uses: contentful/github-auto-merge@v2 with: