Update auto-update.yml
This commit is contained in:
parent
245a9a819e
commit
e616e37b48
12
.github/workflows/auto-update.yml
vendored
12
.github/workflows/auto-update.yml
vendored
@ -94,12 +94,6 @@ jobs:
|
|||||||
commit-message: '[Bot] Update playlists'
|
commit-message: '[Bot] Update playlists'
|
||||||
branch: bot/auto-update
|
branch: bot/auto-update
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
- name: Approve Pull Request
|
|
||||||
if: steps.pr.outputs.pull-request-operation == 'created'
|
|
||||||
uses: juliangruber/approve-pull-request-action@v1
|
|
||||||
with:
|
|
||||||
github-token: ${{ secrets.PAT }}
|
|
||||||
number: ${{ steps.pr.outputs.pull-request-number }}
|
|
||||||
- name: Merge Pull Request
|
- name: Merge Pull Request
|
||||||
if: steps.pr.outputs.pull-request-operation == 'created'
|
if: steps.pr.outputs.pull-request-operation == 'created'
|
||||||
uses: peter-evans/enable-pull-request-automerge@v1
|
uses: peter-evans/enable-pull-request-automerge@v1
|
||||||
@ -107,3 +101,9 @@ jobs:
|
|||||||
token: ${{ secrets.PAT }}
|
token: ${{ secrets.PAT }}
|
||||||
pull-request-number: ${{ steps.pr.outputs.pull-request-number }}
|
pull-request-number: ${{ steps.pr.outputs.pull-request-number }}
|
||||||
merge-method: squash
|
merge-method: squash
|
||||||
|
- name: Approve Pull Request
|
||||||
|
if: steps.pr.outputs.pull-request-operation == 'created'
|
||||||
|
uses: juliangruber/approve-pull-request-action@v1
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.PAT }}
|
||||||
|
number: ${{ steps.pr.outputs.pull-request-number }}
|
||||||
|
Loading…
Reference in New Issue
Block a user