Update onpr_automerge.yaml

This commit is contained in:
Alexandre
2024-05-20 10:31:25 +02:00
committed by GitHub
parent 457662c967
commit a9bd2c384f

View File

@@ -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@v7
uses: actions/github-script@v4
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
@@ -35,6 +35,6 @@ jobs:
- id: automerge
if: ${{ github.event.issue.pull_request }}
name: automerge
uses: "pascalgn/automerge-action@v0.16.3"
uses: "pascalgn/automerge-action@v0.16.2"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"