diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 93a290af..58a97c54 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -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