Update auto-update.yml

This commit is contained in:
Aleksandr Statciuk 2021-08-03 06:20:11 +03:00
parent 03d15db8a9
commit d5fdfb3afb
1 changed files with 3 additions and 4 deletions

View File

@ -376,8 +376,7 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
ref: master ref: bot/auto-update
fetch-depth: 0
- name: Generate Token - name: Generate Token
uses: tibdex/github-app-token@v1 uses: tibdex/github-app-token@v1
id: generate-token id: generate-token
@ -394,8 +393,8 @@ jobs:
[1]: https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }} [1]: https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }}
author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>' author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>'
branch: bot/auto-update delete-branch: true
delete-branch: false base: origin/master
token: ${{ steps.generate-token.outputs.token }} token: ${{ steps.generate-token.outputs.token }}
- name: Enable Pull Request Automerge - name: Enable Pull Request Automerge
if: steps.pr.outputs.pull-request-operation == 'created' if: steps.pr.outputs.pull-request-operation == 'created'