.github: fix automerge (#273)

Use PR html_url rather than number.
This commit is contained in:
Michael McLoughlin
2022-05-01 13:10:40 -07:00
committed by GitHub
parent b04c1d7a0f
commit 907500a407

View File

@@ -15,6 +15,6 @@ jobs:
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Automerge Bot Pull Requests
if: ${{ github.actor == 'cadobot[bot]' }}
run: gh pr merge --auto --squash ${{ github.event.pull_request.number }}
run: gh pr merge --auto --squash "${{ github.event.pull_request.html_url }}"
env:
GITHUB_TOKEN: ${{ steps.bot.outputs.token }}