fix: github-token

This commit is contained in:
sagitchu 2025-03-19 08:56:24 +08:00
parent 5725bfb6df
commit e8650a5fcb

View File

@ -22,8 +22,7 @@ jobs:
- name: Sync upstream pull requests
uses: actions/github-script@v6
with:
token: ${{ secrets.PAT_TOKEN }}
# github-token: ${{ secrets.PAT_TOKEN }}
github-token: ${{ secrets.PAT_TOKEN }}
script: |
const upstream = 'songquanpeng/one-api';
const [owner, repo] = upstream.split('/');