fix(ci): replace UPSTREAM_TOKEN with GITHUB_TOKEN for checkout authentication

This commit is contained in:
TonyBlur 2026-05-26 08:45:13 +08:00
parent 6f2e31a764
commit 33bd1e3b08

View file

@ -18,13 +18,11 @@ jobs:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
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
with:
ref: master
fetch-depth: 0
token: ${{ secrets.UPSTREAM_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: true
- name: Clean issue notice