-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
part:ciAffects the GitHub workflow and other parts for running CIAffects the GitHub workflow and other parts for running CItype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Milestone
Description
What's needed?
Creating labels correctly is a bit cumbersome because there are several steps involved, in particular for part:* labels:
- Create the label in GitHub
- Add the label to the labeler workflow to automatically label PRs.
- Add the label to the keyword labeler to automatically label issues.
- Add the label to the issue templates
We can automate most of this with a new workflow that runs on label creation plus allowing automatic creation of labels by the labeler action.
Proposed solution
-
Add a workflow that updates the keyword labeler configuration to add the new label
When it has the shape of a
part:*, it can add it to:- the
.github/keylabeler.ymlfile in thelabelMappingskey - the
.github/ISSUE_TEMPLATE/bug.ymlfile in thepartfield - maybe add an entry to the
.github/labeler.ymlwith an empty pattern if it is not present, if that's allowed, to make it easier for users to add a new pattern
- the
-
Enable creation of new labels for the labeler workflow.
This can simplify creation of
part:*labels by just adding them to.github/labeler.yml. Then the previous workflow will be triggered and add the label to the rest of the files.
Metadata
Metadata
Assignees
Labels
part:ciAffects the GitHub workflow and other parts for running CIAffects the GitHub workflow and other parts for running CItype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users