diff --git a/.github/workflows/onpr_automerge.yaml b/.github/workflows/onpr_automerge.yaml index d29f6b395..8f6fa81ff 100644 --- a/.github/workflows/onpr_automerge.yaml +++ b/.github/workflows/onpr_automerge.yaml @@ -18,7 +18,7 @@ jobs: steps: - name: Add the automerge label if: contains(github.event.comment.body, '/automerge') # <--- The other way to compare if it's on a PR or on an issue - uses: actions/github-script@v4 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: |