mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-15 00:34:16 +01: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
|
||||
- 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 }}"
|
||||
|
||||
Reference in New Issue
Block a user