mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-14 20:23:46 +08:00
fix: github-token
This commit is contained in:
3
.github/workflows/sync-upstream.yml
vendored
3
.github/workflows/sync-upstream.yml
vendored
@@ -22,8 +22,7 @@ jobs:
|
|||||||
- name: Sync upstream pull requests
|
- name: Sync upstream pull requests
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PAT_TOKEN }}
|
github-token: ${{ secrets.PAT_TOKEN }}
|
||||||
# github-token: ${{ secrets.PAT_TOKEN }}
|
|
||||||
script: |
|
script: |
|
||||||
const upstream = 'songquanpeng/one-api';
|
const upstream = 'songquanpeng/one-api';
|
||||||
const [owner, repo] = upstream.split('/');
|
const [owner, repo] = upstream.split('/');
|
||||||
|
|||||||
Reference in New Issue
Block a user