fix(ci): replace UPSTREAM_TOKEN with GITHUB_TOKEN for checkout authentication
This commit is contained in:
parent
6f2e31a764
commit
33bd1e3b08
1 changed files with 1 additions and 3 deletions
4
.github/workflows/sync-upstream.yml
vendored
4
.github/workflows/sync-upstream.yml
vendored
|
|
@ -18,13 +18,11 @@ jobs:
|
||||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||||
|
|
||||||
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@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: master
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: ${{ secrets.UPSTREAM_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
|
|
||||||
- name: Clean issue notice
|
- name: Clean issue notice
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue