diff --git a/.github/workflows/automerge.yaml b/.github/workflows/automerge.yaml index d5245f17ef5..44ccff7a796 100644 --- a/.github/workflows/automerge.yaml +++ b/.github/workflows/automerge.yaml @@ -14,8 +14,9 @@ jobs: - name: Approve PR uses: hmarr/auto-approve-action@v3 if: ${{ - contains(steps.check-label.outputs.head-commit-message, 'by renovate') || - contains(steps.check-label.outputs.head-commit-message, '.all-contributorsrc') }} + contains(github.event.pull_request.title, 'by renovate') || + contains(github.event.pull_request.title, '.all-contributorsrc') + }} with: github-token: "${{ secrets.OR_PAT }}"