mirror of
https://github.com/iptv-org/database.git
synced 2024-11-22 10:54:11 -05:00
Merge branch 'master' into master
This commit is contained in:
commit
3502ed7d2b
2 changed files with 3 additions and 4 deletions
5
.github/workflows/update.yml
vendored
5
.github/workflows/update.yml
vendored
|
@ -16,13 +16,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 -- data/channels.csv
|
|
||||||
- name: Commit Changes
|
- name: Commit Changes
|
||||||
|
if: steps.issue-process.outputs.OUTPUT != 0
|
||||||
run: |
|
run: |
|
||||||
git config user.name ${{ github.actor }}
|
git config user.name ${{ github.actor }}
|
||||||
git config user.email '${{ github.actor }}@users.noreply.github.com'
|
git config user.email '${{ github.actor }}@users.noreply.github.com'
|
||||||
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 }}" --no-verify
|
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 status
|
git status
|
||||||
git push
|
git push
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Database [![check](https://github.com/iptv-org/database/actions/workflows/check.yml/badge.svg)](https://github.com/iptv-org/database/actions/workflows/check.yml)
|
# Database [![update](https://github.com/iptv-org/database/actions/workflows/update.yml/badge.svg)](https://github.com/iptv-org/database/actions/workflows/update.yml)
|
||||||
|
|
||||||
User editable database for TV channels.
|
User editable database for TV channels.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue