Update auto-update.yml

This commit is contained in:
Aleksandr Statciuk 2021-10-12 22:37:56 +03:00
parent 38f43ec139
commit fdd3105a9f

View file

@ -141,6 +141,7 @@ jobs:
app_id: ${{ secrets.APP_ID }} app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }} private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create Pull Request - name: Create Pull Request
if: ${{ github.ref == 'refs/heads/master' }}
id: pr id: pr
uses: repo-sync/pull-request@v2 uses: repo-sync/pull-request@v2
with: with:
@ -153,7 +154,6 @@ jobs:
[1]: https://github.com/iptv-org/epg/actions/runs/${{ github.run_id }} [1]: https://github.com/iptv-org/epg/actions/runs/${{ github.run_id }}
github_token: ${{ steps.generate-token.outputs.token }} github_token: ${{ steps.generate-token.outputs.token }}
- name: Merge Pull Request - name: Merge Pull Request
if: ${{ github.ref == 'refs/heads/master' }}
uses: juliangruber/merge-pull-request-action@v1 uses: juliangruber/merge-pull-request-action@v1
with: with:
github-token: ${{ secrets.PAT }} github-token: ${{ secrets.PAT }}