Update onpr_automerge.yaml

This commit is contained in:
Alexandre
2024-02-15 22:06:12 +01:00
committed by GitHub
parent 4542d7d597
commit 3129031b6f

View File

@@ -43,6 +43,12 @@ jobs:
#fi
- name: Merge PR
if: env.PR_STATUS == 'true'
run: |
curl -X PUT -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/merge
- name: Merge PR
if: env.PR_STATUS == 'alsotrue'
uses: "pascalgn/automerge-action@v0.16.2"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"