mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update update-codes.yml (#79)
Co-authored-by: Aleksandr Statciuk <free.arhey@gmail.com>
This commit is contained in:
parent
844e739f94
commit
f2f901a3da
1 changed files with 3 additions and 1 deletions
4
.github/workflows/update-codes.yml
vendored
4
.github/workflows/update-codes.yml
vendored
|
@ -39,7 +39,6 @@ jobs:
|
|||
branch: bot/update-codes
|
||||
file_pattern: .gh-pages/_items.json .gh-pages/codes.json
|
||||
pull-request:
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
needs: update-codes
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -65,6 +64,8 @@ jobs:
|
|||
|
||||
[1]: https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }}
|
||||
github_token: ${{ steps.generate-token.outputs.token }}
|
||||
- name: Check outputs
|
||||
run: echo "Pull Request Number - ${{ steps.pr.outputs.pr_number }}"
|
||||
- name: Enable Pull Request Automerge
|
||||
uses: peter-evans/enable-pull-request-automerge@v1
|
||||
with:
|
||||
|
@ -77,6 +78,7 @@ jobs:
|
|||
github-token: ${{ secrets.PAT }}
|
||||
number: ${{ steps.pr.outputs.pr_number }}
|
||||
deploy:
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
needs: pull-request
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue