[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:
4497431df6
---------
Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
@@ -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