[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:
|
schedule:
|
||||||
- cron: '0 2 * * 1' # Every Monday at 02:00 UTC
|
- cron: '0 2 * * 1' # Every Monday at 02:00 UTC
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
paths:
|
|
||||||
- '.github/workflows/schedule_update_estimated_time.yaml'
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -47,6 +42,7 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
repository: ${{ env.FORK_OWNER }}/vllm-ascend
|
repository: ${{ env.FORK_OWNER }}/vllm-ascend
|
||||||
|
token: ${{ secrets.PAT_TOKEN }}
|
||||||
|
|
||||||
- name: Download all timing artifacts
|
- name: Download all timing artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
@@ -91,7 +87,6 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create pull request
|
- name: Create pull request
|
||||||
if: github.event_name != 'pull_request'
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user