mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 09:30:06 -04:00
Update auto-update.yml
This commit is contained in:
parent
04b2285241
commit
52ad5c3dbd
1 changed files with 9 additions and 1 deletions
10
.github/workflows/auto-update.yml
vendored
10
.github/workflows/auto-update.yml
vendored
|
@ -138,6 +138,15 @@ jobs:
|
|||
commit_author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>'
|
||||
branch: bot/auto-update
|
||||
file_pattern: README.md
|
||||
pull-request:
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
needs: update-readme
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: bot/auto-update
|
||||
- name: Generate Token
|
||||
uses: tibdex/github-app-token@v1
|
||||
id: generate-token
|
||||
|
@ -145,7 +154,6 @@ jobs:
|
|||
app_id: ${{ secrets.APP_ID }}
|
||||
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||
- name: Create Pull Request
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
id: pr
|
||||
uses: repo-sync/pull-request@v2
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue