Update auto-update.yml
This commit is contained in:
parent
395e443c98
commit
0db7c53233
3
.github/workflows/auto-update.yml
vendored
3
.github/workflows/auto-update.yml
vendored
@ -68,6 +68,8 @@ jobs:
|
|||||||
needs: load
|
needs: load
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- run: echo "::set-output name=branch_name::$(date +'bot/auto-update-%s')"
|
- run: echo "::set-output name=branch_name::$(date +'bot/auto-update-%s')"
|
||||||
id: create-branch-name
|
id: create-branch-name
|
||||||
- run: git config user.name 'iptv-bot[bot]'
|
- run: git config user.name 'iptv-bot[bot]'
|
||||||
@ -136,6 +138,7 @@ jobs:
|
|||||||
git commit -m "[Bot] Update streams"
|
git commit -m "[Bot] Update streams"
|
||||||
git add README.md
|
git add README.md
|
||||||
git commit -m "[Bot] Update README.md"
|
git commit -m "[Bot] Update README.md"
|
||||||
|
git push -u origin ${{ steps.create-branch-name.outputs.branch_name }}
|
||||||
- uses: repo-sync/pull-request@v2
|
- uses: repo-sync/pull-request@v2
|
||||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||||
id: pull-request
|
id: pull-request
|
||||||
|
Loading…
x
Reference in New Issue
Block a user