Update clean.yml

This commit is contained in:
Aleksandr Statciuk 2021-08-09 03:31:59 +03:00
parent d2b7c353e9
commit abdd4f6fc2

View File

@ -1,8 +1,8 @@
name: clean
on:
workflow_dispatch:
# schedule:
# - cron: '0 6 * * 0'
schedule:
- cron: '0 6 * * 0'
jobs:
create-branch:
runs-on: ubuntu-latest
@ -17,7 +17,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: 'bot/remove-broken-links'
test:
check:
runs-on: ubuntu-latest
needs: create-branch
continue-on-error: true
@ -207,7 +207,7 @@ jobs:
path: channels/${{ matrix.country }}.m3u
commit-changes:
runs-on: ubuntu-latest
needs: test
needs: check
steps:
- name: Checkout
uses: actions/checkout@v2
@ -218,7 +218,7 @@ jobs:
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: '[Bot] Update playlists'
commit_message: '[Bot] Remove broken links'
commit_user_name: iptv-bot
commit_user_email: 84861620+iptv-bot[bot]@users.noreply.github.com
commit_author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>'