mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-16 03:50:03 -04:00
Update auto-update.yml
This commit is contained in:
parent
245a9a819e
commit
e616e37b48
1 changed files with 6 additions and 6 deletions
12
.github/workflows/auto-update.yml
vendored
12
.github/workflows/auto-update.yml
vendored
|
@ -94,12 +94,6 @@ jobs:
|
|||
commit-message: '[Bot] Update playlists'
|
||||
branch: bot/auto-update
|
||||
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
|
||||
if: steps.pr.outputs.pull-request-operation == 'created'
|
||||
uses: peter-evans/enable-pull-request-automerge@v1
|
||||
|
@ -107,3 +101,9 @@ jobs:
|
|||
token: ${{ secrets.PAT }}
|
||||
pull-request-number: ${{ steps.pr.outputs.pull-request-number }}
|
||||
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…
Add table
Add a link
Reference in a new issue