github-pr-comment-build-plugin icon indicating copy to clipboard operation
github-pr-comment-build-plugin copied to clipboard

Support pull_request.unlabeled events as triggers for Multibranch PR jobs

Open carolynkongsonos opened this issue 3 months ago • 0 comments

What feature do you want to see added?

Currently, the GitHub Branch Source plugin reacts to some pull_request webhook events (opened, reopened, synchronize, and labeled). However, it does not react to unlabeled events.

This gap creates a problem for PR checks that validate the current set of labels.

Example use case:

We have a Jenkins Pipeline that enforces versioning rules when Swift package sources change.

The Pipeline checks PR labels (version:major, version:minor, etc.) and fails if they are missing or invalid.

When a label is added, Jenkins runs and the check is evaluated correctly.

If the label is later removed, Jenkins does not rerun, so the previous successful check remains green even though the PR is now invalid.

This creates the risk of merging PRs with the wrong or missing labels.

Upstream changes

No response

Are you interested in contributing this feature?

No response

carolynkongsonos avatar Sep 10 '25 20:09 carolynkongsonos