|
|
|
@ -185,18 +185,18 @@ jobs:
|
|
|
|
|
run: |
|
|
|
|
|
git add .
|
|
|
|
|
git diff-index --quiet HEAD || git commit -m "[Bot] Update ${{ matrix.country }}.m3u"
|
|
|
|
|
git push
|
|
|
|
|
create-pr:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
needs: update
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
with:
|
|
|
|
|
ref: bot/patch-1
|
|
|
|
|
- name: Create Pull Request
|
|
|
|
|
uses: peter-evans/create-pull-request@v3
|
|
|
|
|
with:
|
|
|
|
|
title: '[Bot] Remove broken links'
|
|
|
|
|
body: |
|
|
|
|
|
This pull request is created automatically.
|
|
|
|
|
git push -u origin bot/patch-1
|
|
|
|
|
# create-pr:
|
|
|
|
|
# runs-on: ubuntu-latest
|
|
|
|
|
# needs: update
|
|
|
|
|
# steps:
|
|
|
|
|
# - name: Checkout
|
|
|
|
|
# uses: actions/checkout@v2
|
|
|
|
|
# with:
|
|
|
|
|
# ref: bot/remove-broken-links
|
|
|
|
|
# - name: Create Pull Request
|
|
|
|
|
# uses: peter-evans/create-pull-request@v3
|
|
|
|
|
# with:
|
|
|
|
|
# title: '[Bot] Remove broken links'
|
|
|
|
|
# body: |
|
|
|
|
|
# This pull request is created automatically.
|
|
|
|
|