chore: choose the master version of the auto approve action

- only the master supports approving a PR by PR number
This commit is contained in:
Arthur Meyre
2021-11-22 15:13:40 +01:00
parent 7193050d49
commit 09eb6eae10

View File

@@ -59,7 +59,7 @@ jobs:
labels: dependencies
- name: Self approve PR to attempt auto merge
if: ${{ fromJSON(env.SHOULD_RUN) && env.LATEST_COMPILER_PACKAGE_TIMESTAMP != '' }}
uses: hmarr/auto-approve-action@5d04a5ca6da9aeb8ca9f31a5239b96fc3e003029
uses: hmarr/auto-approve-action@6a9ec7556f0a7fa5b49527a1eea4878b8a22d2e0
with:
github-token: ${{ secrets.BOT_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}