mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-05 13:38:47 +02:00
Update onpr_automerge.yaml
This commit is contained in:
6
.github/workflows/onpr_automerge.yaml
vendored
6
.github/workflows/onpr_automerge.yaml
vendored
@@ -43,6 +43,12 @@ jobs:
|
|||||||
#fi
|
#fi
|
||||||
- name: Merge PR
|
- name: Merge PR
|
||||||
if: env.PR_STATUS == 'true'
|
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"
|
uses: "pascalgn/automerge-action@v0.16.2"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user