"tools/imglab/vscode:/vscode.git/clone" did not exist on "9d0f6796dcb6e67c986f28cbfdb913cd7ae522db"
Unverified Commit 428710c2 authored by Lianmin Zheng's avatar Lianmin Zheng Committed by GitHub
Browse files

clean up github tokens (#12126)


Co-authored-by: default avatarsglang-bot <sglangbot@gmail.com>
parent d9b31011
......@@ -45,6 +45,6 @@ jobs:
- name: Commit and create PR
env:
GH_TOKEN: ${{ secrets.GH_PAT_FOR_TAGGING }}
GH_TOKEN: ${{ secrets.GH_PAT_FOR_PULL_REQUEST }}
run: |
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
env:
GH_TOKEN: ${{ secrets.GH_PAT_FOR_TAGGING }}
GH_TOKEN: ${{ secrets.GH_PAT_FOR_PULL_REQUEST }}
run: |
bash scripts/release/commit_and_pr.sh "SGLang" "${{ github.event.inputs.new_version }}" "$BRANCH_NAME"
......@@ -3,7 +3,6 @@ name: CI Monitor
on:
schedule:
- cron: '0 */12 * * *' # Every 12 hours for main analysis
- cron: '0 6 * * *' # Daily at 6:00 AM UTC for balance analysis
workflow_dispatch:
inputs:
limit:
......@@ -40,7 +39,7 @@ jobs:
- name: Run CI Analysis
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI }}
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
PYTHONUNBUFFERED: 1
PYTHONIOENCODING: utf-8
run: |
......@@ -49,7 +48,7 @@ jobs:
- name: Run Performance Analysis
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI }}
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
PYTHONUNBUFFERED: 1
PYTHONIOENCODING: utf-8
run: |
......
......@@ -26,7 +26,7 @@ jobs:
if: steps.checkAccess.outputs.require-result == 'true'
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GH_PAT_FOR_TAGGING }}
github-token: ${{ secrets.GH_PAT_FOR_PULL_REQUEST }}
script: |
github.rest.issues.addLabels({
owner: context.repo.owner,
......
......@@ -54,7 +54,7 @@ jobs:
- name: Publish traces to storage repo
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_NUMBER: ${{ github.run_number }}
run: |
......@@ -99,7 +99,7 @@ jobs:
- name: Publish traces to storage repo
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_NUMBER: ${{ github.run_number }}
run: |
......
......@@ -159,7 +159,6 @@ jobs:
if: needs.check-changes.outputs.sgl_kernel == 'true'
runs-on: 1-gpu-runner
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
CI: true
steps:
- uses: actions/checkout@v4
......
......@@ -18,6 +18,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Get version
id: get_version
......@@ -26,10 +28,8 @@ jobs:
echo "TAG=v$version" >> $GITHUB_OUTPUT
- name: Create and push fake tag
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
run: |
git config user.name zhyncs
git config user.email me@zhyncs.com
git config user.name "sglang-bot"
git config user.email "sglang-bot@users.noreply.github.com"
git checkout -b ${{ steps.get_version.outputs.TAG }}
git push --set-upstream origin ${{ steps.get_version.outputs.TAG }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment