Merge branch 'auto-download-pause-resume'
This commit is contained in:
commit
764114f5da
1 changed files with 8 additions and 1 deletions
9
.github/workflows/sync-upstream.yml
vendored
9
.github/workflows/sync-upstream.yml
vendored
|
|
@ -16,7 +16,14 @@ jobs:
|
||||||
if: ${{ github.event.repository.fork }}
|
if: ${{ github.event.repository.fork }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# Checkout with UPSTREAM_TOKEN (Classic PAT with repo + workflow scope)
|
||||||
|
# GITHUB_TOKEN cannot push commits that modify .github/workflows/ files
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: master
|
||||||
|
fetch-depth: 0
|
||||||
|
token: ${{ secrets.UPSTREAM_TOKEN }}
|
||||||
|
persist-credentials: true
|
||||||
|
|
||||||
- name: Clean issue notice
|
- name: Clean issue notice
|
||||||
uses: actions-cool/issues-helper@e361abf610221f09495ad510cb1e69328d839e1c # v3.7.6
|
uses: actions-cool/issues-helper@e361abf610221f09495ad510cb1e69328d839e1c # v3.7.6
|
||||||
|
|
@ -31,7 +38,7 @@ jobs:
|
||||||
upstream_sync_repo: alexta69/metube
|
upstream_sync_repo: alexta69/metube
|
||||||
upstream_sync_branch: master
|
upstream_sync_branch: master
|
||||||
target_sync_branch: master
|
target_sync_branch: master
|
||||||
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set
|
target_repo_token: ${{ secrets.UPSTREAM_TOKEN }}
|
||||||
test_mode: false
|
test_mode: false
|
||||||
|
|
||||||
- name: Sync check
|
- name: Sync check
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue