Update auto-update.yml

This commit is contained in:
Aleksandr Statciuk 2021-10-01 18:37:40 +03:00
parent 2ecee3c358
commit 3be4279109

View File

@ -49,7 +49,7 @@ jobs:
- name: Install Dependencies - name: Install Dependencies
run: npm install run: npm install
- name: Format Playlists - name: Format Playlists
run: node scripts/format.js --country=${{ matrix.country }} --debug run: node scripts/format.js --country=${{ matrix.country }} --debug --offline
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
@ -234,14 +234,9 @@ jobs:
[1]: https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }} [1]: https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }}
github_token: ${{ steps.generate-token.outputs.token }} github_token: ${{ steps.generate-token.outputs.token }}
- name: Enable Pull Request Automerge - name: Merge Pull Request
uses: peter-evans/enable-pull-request-automerge@v1 uses: juliangruber/merge-pull-request-action@v1
with:
token: ${{ secrets.PAT }}
pull-request-number: ${{ steps.pr.outputs.pr_number }}
merge-method: squash
- name: Approve Pull Request
uses: juliangruber/approve-pull-request-action@v1
with: with:
github-token: ${{ secrets.PAT }} github-token: ${{ secrets.PAT }}
number: ${{ steps.pr.outputs.pr_number }} number: ${{ steps.pr.outputs.pr_number }}
method: squash