Update update.yml

This commit is contained in:
Aleksandr Statciuk 2023-05-25 19:43:16 +03:00
parent d5a35498a4
commit b32944b7c7

View file

@ -18,10 +18,12 @@ jobs:
- run: npm install - run: npm install
- run: GITHUB_TOKEN=${{ steps.create-app-token.outputs.token }} npm run db:update --silent >> $GITHUB_OUTPUT - run: GITHUB_TOKEN=${{ steps.create-app-token.outputs.token }} npm run db:update --silent >> $GITHUB_OUTPUT
id: issue-process id: issue-process
- name: Validate Changes
run: npm run db:validate
- name: Commit Changes - name: Commit Changes
if: steps.issue-process.outputs.OUTPUT != 0 if: steps.issue-process.outputs.OUTPUT != 0
run: | run: |
git add data/channels.csv 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 status
git push git push