Skip to content

TEST ONLY: auto-label workflow check (closed) - #69

Closed
yuchenjiangyj wants to merge 3 commits into
mainfrom
yucjiang/autolabel-test
Closed

yuchenjiangyj wants to merge 3 commits into
mainfrom
yucjiang/autolabel-test

Conversation

@yuchenjiangyj

Copy link
Copy Markdown
Contributor

TEST ONLY. Do not merge.

This pull request tests a change to the auto-label workflow. The change is on the branch yucjiang/autolabel-github-script.

An issues workflow runs only from the default branch. This branch adds a temporary pull_request trigger, so the new workflow runs on this pull request. The pull request title is the test input.

I will close this pull request and delete the branch after the test.

Yuchen Jiang added 3 commits October 13, 2026 20:33
The auto-label workflow passed the label list and the issue number to a
shell step through ${{ }} expressions. Security scanners flag this
pattern as a script injection risk.

Call the GitHub API from the github-script step. Remove the shell step.

Apply only the labels that exist in the repository. The name match
ignores case, so the "Trn2" rule applies the "trn2" label. The workflow
logs a warning for a label that does not exist, for example "Inf1".
Do not merge. An issues workflow runs only from the default branch.
Add a temporary pull_request trigger, and read the title from the pull
request, so that the new workflow runs on a test pull request.
A label on a pull request needs the pull-requests write permission.
Also run on synchronize, so that a push starts a test run.
@github-actions github-actions Bot added bug Something isn't working Inference trn2 labels Oct 13, 2026
@yuchenjiangyj yuchenjiangyj removed bug Something isn't working trn2 Inference labels Oct 13, 2026
@yuchenjiangyj yuchenjiangyj changed the title Crash on trn2 during inference inf2 hello world Oct 13, 2026
@yuchenjiangyj yuchenjiangyj changed the title hello world Test title with shell text: $(id) id "; exit 1 # ${{ github.token }} trn1 training Oct 13, 2026
@yuchenjiangyj yuchenjiangyj changed the title Test title with shell text: $(id) id "; exit 1 # ${{ github.token }} trn1 training TEST ONLY: auto-label workflow check (closed) Oct 13, 2026
@yuchenjiangyj
yuchenjiangyj deleted the yucjiang/autolabel-test branch October 13, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant