Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(autolabeler): purge labels that do not match anymore#1433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
koozz wants to merge2 commits intorelease-drafter:master
base:master
Choose a base branch
Loading
fromkoozz:sync-labels

Conversation

@koozz
Copy link

@koozzkoozz commentedFeb 26, 2025
edited
Loading

By starting the set of labels for a pull request with the current labels, adding as usual, and (now) purging if configured to purge and criteria is not met anymore, the actual set of labels can be PUT to the pull request.

This enables mutually exclusive labels to work well. Adding amajor label to a pull request that already has aminor label (which is no longer matching the criteria) seems like an unwanted situation. Allowing labels to be 'purged' is basically the same as the functionality from theactions/labeler that 'owns' labels (which allows it to remove them if the criteria isn't met anymore).

Fixes:#1432

scottrigby and ssbarnea reacted with thumbs up emoji
By starting the set of labels for a pull request with the currentlabels, adding as usual, and purging if configured to purge andcriteria is not met anymore, the actual set of labels can be PUT to thepull request.Fixes:release-drafter#1432Signed-off-by: Jan van den Berg <koozz@linux.com>
Signed-off-by: Jan van den Berg <koozz@linux.com>
Copy link
Contributor

@ssbarneassbarnea left a comment

Choose a reason for hiding this comment

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

Very useful fix!

@NielsMooren
Copy link

I like this, I need this!

@koozzkoozz mentioned this pull requestOct 15, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

2 more reviewers

@ssbarneassbarneassbarnea approved these changes

@NielsMoorenNielsMoorenNielsMooren approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Autolabeler does not remove the label if it does not match anymore

3 participants

@koozz@NielsMooren@ssbarnea

[8]ページ先頭

©2009-2025 Movatter.jp