[CI] Add PAT_TOKEN when checkout (#7400)
### What this PR does / why we need it? When we checkout the fork repo and wanna to submit push to the fork repo, the pat_token is needed - vLLM version: v0.17.0 - vLLM main: https://github.com/vllm-project/vllm/commit/4497431df654e46fb1fb5e64bf8611e762ae5d87 --------- Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
1 parent
1c954ff264
commit
5894a27bfd
1 file changed
+1
-6
@@ -4,11 +4,6 @@ on:
|
||||
schedule:
|
||||
- cron: '0 2 * * 1' # Every Monday at 02:00 UTC
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
paths:
|
||||
- '.github/workflows/schedule_update_estimated_time.yaml'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -47,6 +42,7 @@ jobs:
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
repository: ${{ env.FORK_OWNER }}/vllm-ascend
|
||||
token: ${{ secrets.PAT_TOKEN }}
|
||||
|
||||
- name: Download all timing artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
@@ -91,7 +87,6 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Create pull request
|
||||
if: github.event_name != 'pull_request'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user