From fdd3105a9f26f014f292c10beedd03b9ad8e8a0c Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 12 Oct 2021 22:37:56 +0300 Subject: [PATCH] Update auto-update.yml --- .github/workflows/auto-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 012f7eb9..8a2b3416 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -141,6 +141,7 @@ jobs: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} - name: Create Pull Request + if: ${{ github.ref == 'refs/heads/master' }} id: pr uses: repo-sync/pull-request@v2 with: @@ -153,7 +154,6 @@ jobs: [1]: https://github.com/iptv-org/epg/actions/runs/${{ github.run_id }} github_token: ${{ steps.generate-token.outputs.token }} - name: Merge Pull Request - if: ${{ github.ref == 'refs/heads/master' }} uses: juliangruber/merge-pull-request-action@v1 with: github-token: ${{ secrets.PAT }}