Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce Labels Workflow: Treat "Backports from WordPress Core" as allowable label #53203

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

dmsnell
Copy link
Member

@dmsnell dmsnell commented Jul 31, 2023

What?

None of the existing "[Type]" labels describe a backport, though one describes code that requires backporting into Core.

In this change the backport label satisfies the labeling requirement. Alternatively a new "[Type] Backport from WordPress Core" label could be created, but that would imply requiring two practically identical labels for each backport PR.

Why?

The workflow is currently rejecting PRs for missing a required label, but I found no appropriate label to satisfy the workflow. We should not block work while providing no path to unblock that work.

How?

Adds the existing backport label as an acceptable label.

…owable label.

None of the existing "[Type]" labels describe a backport, though one describes code
that requires backporting into Core.

In this change the backport label satisfies the labeling requirement. Alternatively
a new "[Type] Backport from WordPress Core" label could be created, but that would
imply requiring two practically identical labels for each backport PR.
@dmsnell dmsnell requested a review from priethor July 31, 2023 23:24
@dmsnell dmsnell added the [Type] Build Tooling Issues or PRs related to build tooling label Jul 31, 2023
@WordPress WordPress deleted a comment from github-actions bot Jul 31, 2023
Copy link
Contributor

@alexstine alexstine left a comment

Choose a reason for hiding this comment

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

👍

@dmsnell
Copy link
Member Author

dmsnell commented Aug 1, 2023

thanks @alexstine - I'm going to merge this, but if anyone objects or has a better suggestion we can change it or revert it.

@dmsnell dmsnell merged commit e27e91a into trunk Aug 1, 2023
@dmsnell dmsnell deleted the workflows/backports-is-allowable-label branch August 1, 2023 00:25
@priethor
Copy link
Contributor

priethor commented Aug 1, 2023

Thanks, Dennis. Looks good to me, too. It's a label I wasn't sure about since it's often used in combination with other type-related labels, but sometimes not. Let's see if/when people try to use it in combination with others and what they think.

@dmsnell
Copy link
Member Author

dmsnell commented Aug 1, 2023

Let's see if/when people try to use it in combination with others and what they think.

this came up for me in #52908 where none of the [Type] labels seemed to fit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Build Tooling Issues or PRs related to build tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants