Skip to content

Fix pre-commit labeled trigger system#39523

Merged
mgoin merged 2 commits into
vllm-project:mainfrom
fynnsu:fix_pre_commit_labeling
Apr 10, 2026
Merged

Fix pre-commit labeled trigger system#39523
mgoin merged 2 commits into
vllm-project:mainfrom
fynnsu:fix_pre_commit_labeling

Conversation

@fynnsu

@fynnsu fynnsu commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

Purpose

#37544 added a gate to prevent pre-commit from automatically running unless the pr author has at least 4 merged prs or the pr has been labeled. This logic works, but is missing a 'labeled' trigger on the pr. That means if the pr is opened without any label (standard for community authors who don't have labeling permission) and later a 'ready' or 'verified' label is added, the job won't be re-triggered and pre-commit will not run.

Note: [opened, synchronize, reopened] are the default settings for this github actions trigger, the only new thing is labeled.
Reference: https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request

Test Plan

N/A

Test Result

N/A


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.
  • (Optional) Release notes update. If your change is user facing, please update the release notes draft in the Google Doc.

Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@mergify mergify Bot added the ci/build label Apr 10, 2026

@DarkLight1337 DarkLight1337 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it's nice to automatically re-run it

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) April 10, 2026 18:00
@github-actions github-actions Bot added the ready ONLY add when PR is ready to merge/full CI is needed label Apr 10, 2026

@DarkLight1337 DarkLight1337 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm it doesn't seem to trigger on this PR...

@fynnsu

fynnsu commented Apr 10, 2026

Copy link
Copy Markdown
Contributor Author

Hmm it doesn't seem to trigger on this PR...

Yes, it won't work until this lands on main. Otherwise it would be possible to add a trigger (like on every push) to a pr and bypass whatever trigger conditions the repo maintainers have enforced.

@mgoin

mgoin commented Apr 10, 2026

Copy link
Copy Markdown
Member

would this retrigger if an unrelated label is added? like if ready is already on, but i manually add quantization, would that retrigger pre-commit?

Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
auto-merge was automatically disabled April 10, 2026 18:22

Head branch was pushed to by a user without write access

@mgoin mgoin merged commit 2d80cf9 into vllm-project:main Apr 10, 2026
12 checks passed
Comment thread .github/workflows/pre-commit.yml
wojciech-wais pushed a commit to wojciech-wais/vllm that referenced this pull request Apr 13, 2026
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
whk-lab pushed a commit to whk-lab/vllm that referenced this pull request Apr 23, 2026
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
avinashsingh77 pushed a commit to avinashsingh77/vllm that referenced this pull request Apr 27, 2026
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
Signed-off-by: Avinash Singh <avinashsingh.rcoem@gmail.com>
mystous pushed a commit to mystous/vllm_hybrid that referenced this pull request May 10, 2026
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
my-other-github-account pushed a commit to my-other-github-account/vllm that referenced this pull request May 15, 2026
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
my-other-github-account pushed a commit to my-other-github-account/vllm that referenced this pull request May 15, 2026
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
jhu960213 pushed a commit to jhu960213/vllm that referenced this pull request May 20, 2026
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
mvanhorn pushed a commit to mvanhorn/vllm that referenced this pull request Jun 4, 2026
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/build ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants