mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 03:16:53 -05:00
Update update-codes.yml (#79)
Co-authored-by: Aleksandr Statciuk <free.arhey@gmail.com>
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user