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 }}