From 0db7c5323356a064c4d6696d52644ee2632226e2 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 21 Feb 2022 22:30:59 +0300 Subject: [PATCH] Update auto-update.yml --- .github/workflows/auto-update.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 6d73a3297..da9d8b554 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -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