Update auto-update.yml

This commit is contained in:
Aleksandr Statciuk 2022-02-21 22:30:59 +03:00
parent 395e443c98
commit 0db7c53233

View File

@ -68,6 +68,8 @@ jobs:
needs: load
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: echo "::set-output name=branch_name::$(date +'bot/auto-update-%s')"
id: create-branch-name
- run: git config user.name 'iptv-bot[bot]'
@ -136,6 +138,7 @@ jobs:
git commit -m "[Bot] Update streams"
git add 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
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
id: pull-request