clean up github tokens (#12126)
Co-authored-by: sglang-bot <sglangbot@gmail.com>
This commit is contained in:
co-authored by
sglang-bot
parent
d9b31011aa
commit
428710c2ec
@@ -45,6 +45,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Commit and create PR
|
- name: Commit and create PR
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GH_PAT_FOR_TAGGING }}
|
GH_TOKEN: ${{ secrets.GH_PAT_FOR_PULL_REQUEST }}
|
||||||
run: |
|
run: |
|
||||||
bash scripts/release/commit_and_pr.sh "sgl-kernel" "${{ github.event.inputs.new_version }}" "$BRANCH_NAME"
|
bash scripts/release/commit_and_pr.sh "sgl-kernel" "${{ github.event.inputs.new_version }}" "$BRANCH_NAME"
|
||||||
|
|||||||
@@ -45,6 +45,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Commit and create PR
|
- name: Commit and create PR
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GH_PAT_FOR_TAGGING }}
|
GH_TOKEN: ${{ secrets.GH_PAT_FOR_PULL_REQUEST }}
|
||||||
run: |
|
run: |
|
||||||
bash scripts/release/commit_and_pr.sh "SGLang" "${{ github.event.inputs.new_version }}" "$BRANCH_NAME"
|
bash scripts/release/commit_and_pr.sh "SGLang" "${{ github.event.inputs.new_version }}" "$BRANCH_NAME"
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ name: CI Monitor
|
|||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 */12 * * *' # Every 12 hours for main analysis
|
- cron: '0 */12 * * *' # Every 12 hours for main analysis
|
||||||
- cron: '0 6 * * *' # Daily at 6:00 AM UTC for balance analysis
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
limit:
|
limit:
|
||||||
@@ -40,7 +39,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run CI Analysis
|
- name: Run CI Analysis
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI }}
|
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
|
||||||
PYTHONUNBUFFERED: 1
|
PYTHONUNBUFFERED: 1
|
||||||
PYTHONIOENCODING: utf-8
|
PYTHONIOENCODING: utf-8
|
||||||
run: |
|
run: |
|
||||||
@@ -49,7 +48,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Performance Analysis
|
- name: Run Performance Analysis
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI }}
|
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
|
||||||
PYTHONUNBUFFERED: 1
|
PYTHONUNBUFFERED: 1
|
||||||
PYTHONIOENCODING: utf-8
|
PYTHONIOENCODING: utf-8
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
if: steps.checkAccess.outputs.require-result == 'true'
|
if: steps.checkAccess.outputs.require-result == 'true'
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GH_PAT_FOR_TAGGING }}
|
github-token: ${{ secrets.GH_PAT_FOR_PULL_REQUEST }}
|
||||||
script: |
|
script: |
|
||||||
github.rest.issues.addLabels({
|
github.rest.issues.addLabels({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish traces to storage repo
|
- name: Publish traces to storage repo
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI }}
|
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
|
||||||
GITHUB_RUN_ID: ${{ github.run_id }}
|
GITHUB_RUN_ID: ${{ github.run_id }}
|
||||||
GITHUB_RUN_NUMBER: ${{ github.run_number }}
|
GITHUB_RUN_NUMBER: ${{ github.run_number }}
|
||||||
run: |
|
run: |
|
||||||
@@ -99,7 +99,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish traces to storage repo
|
- name: Publish traces to storage repo
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI }}
|
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
|
||||||
GITHUB_RUN_ID: ${{ github.run_id }}
|
GITHUB_RUN_ID: ${{ github.run_id }}
|
||||||
GITHUB_RUN_NUMBER: ${{ github.run_number }}
|
GITHUB_RUN_NUMBER: ${{ github.run_number }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ jobs:
|
|||||||
if: needs.check-changes.outputs.sgl_kernel == 'true'
|
if: needs.check-changes.outputs.sgl_kernel == 'true'
|
||||||
runs-on: 1-gpu-runner
|
runs-on: 1-gpu-runner
|
||||||
env:
|
env:
|
||||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
||||||
CI: true
|
CI: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: get_version
|
id: get_version
|
||||||
@@ -26,10 +28,8 @@ jobs:
|
|||||||
echo "TAG=v$version" >> $GITHUB_OUTPUT
|
echo "TAG=v$version" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Create and push fake tag
|
- name: Create and push fake tag
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
git config user.name zhyncs
|
git config user.name "sglang-bot"
|
||||||
git config user.email me@zhyncs.com
|
git config user.email "sglang-bot@users.noreply.github.com"
|
||||||
git checkout -b ${{ steps.get_version.outputs.TAG }}
|
git checkout -b ${{ steps.get_version.outputs.TAG }}
|
||||||
git push --set-upstream origin ${{ steps.get_version.outputs.TAG }}
|
git push --set-upstream origin ${{ steps.get_version.outputs.TAG }}
|
||||||
|
|||||||
Reference in New Issue
Block a user