mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -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
|
branch: bot/update-codes
|
||||||
file_pattern: .gh-pages/_items.json .gh-pages/codes.json
|
file_pattern: .gh-pages/_items.json .gh-pages/codes.json
|
||||||
pull-request:
|
pull-request:
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
|
||||||
needs: update-codes
|
needs: update-codes
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -65,6 +64,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 }}
|
||||||
github_token: ${{ steps.generate-token.outputs.token }}
|
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
|
- name: Enable Pull Request Automerge
|
||||||
uses: peter-evans/enable-pull-request-automerge@v1
|
uses: peter-evans/enable-pull-request-automerge@v1
|
||||||
with:
|
with:
|
||||||
|
@ -77,6 +78,7 @@ jobs:
|
||||||
github-token: ${{ secrets.PAT }}
|
github-token: ${{ secrets.PAT }}
|
||||||
number: ${{ steps.pr.outputs.pr_number }}
|
number: ${{ steps.pr.outputs.pr_number }}
|
||||||
deploy:
|
deploy:
|
||||||
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
needs: pull-request
|
needs: pull-request
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue