Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
0ec580a8
"tutorials/vscode:/vscode.git/clone" did not exist on "e01893972901e45f0cae3da6c90bb1fce6947568"
Unverified
Commit
0ec580a8
authored
Sep 14, 2025
by
Lianmin Zheng
Committed by
GitHub
Sep 14, 2025
Browse files
Fix label PR (#10445)
parent
0b14159f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
.github/workflows/label-pr.yml
.github/workflows/label-pr.yml
+5
-2
No files found.
.github/workflows/label-pr.yml
View file @
0ec580a8
...
@@ -4,9 +4,11 @@ on:
...
@@ -4,9 +4,11 @@ on:
pull_request_target
:
pull_request_target
:
types
:
[
opened
,
reopened
]
types
:
[
opened
,
reopened
]
# Sets the permissions for the GITHUB_TOKEN to allow adding labels.
# This permission is still needed for the 'check-user-permission' action,
# which uses the default GITHUB_TOKEN to verify the actor's permissions.
permissions
:
permissions
:
pull-requests
:
write
pull-requests
:
read
members
:
read
jobs
:
jobs
:
labeler
:
labeler
:
...
@@ -25,6 +27,7 @@ jobs:
...
@@ -25,6 +27,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
:
token
:
${{ secrets.GH_PAT_FOR_TAGGING }}
script
:
|
script
:
|
github.rest.issues.addLabels({
github.rest.issues.addLabels({
owner: context.repo.owner,
owner: context.repo.owner,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment