mirror of
https://github.com/iptv-org/database.git
synced 2024-12-22 07:50:23 -05:00
Update update.yml
This commit is contained in:
parent
d5a35498a4
commit
b32944b7c7
1 changed files with 3 additions and 1 deletions
4
.github/workflows/update.yml
vendored
4
.github/workflows/update.yml
vendored
|
@ -18,10 +18,12 @@ jobs:
|
|||
- run: npm install
|
||||
- run: GITHUB_TOKEN=${{ steps.create-app-token.outputs.token }} npm run db:update --silent >> $GITHUB_OUTPUT
|
||||
id: issue-process
|
||||
- name: Validate Changes
|
||||
run: npm run db:validate
|
||||
- name: Commit Changes
|
||||
if: steps.issue-process.outputs.OUTPUT != 0
|
||||
run: |
|
||||
git add data/channels.csv
|
||||
git commit -m "[Bot] Update channels.csv" -m "Committed by [iptv-bot](https://github.com/apps/iptv-bot) via [update](https://github.com/iptv-org/database/actions/runs/${{ github.run_id }}) workflow." -m "${{ steps.issue-process.outputs.OUTPUT }}"
|
||||
git commit -m "[Bot] Update channels.csv" -m "Committed by [iptv-bot](https://github.com/apps/iptv-bot) via [update](https://github.com/iptv-org/database/actions/runs/${{ github.run_id }}) workflow." -m "${{ steps.issue-process.outputs.OUTPUT }}" --no-verify
|
||||
git status
|
||||
git push
|
||||
|
|
Loading…
Reference in a new issue