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

Extensions to label-to-title #126

Open
liamhuber opened this issue Aug 14, 2024 · 0 comments
Open

Extensions to label-to-title #126

liamhuber opened this issue Aug 14, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@liamhuber
Copy link
Member

  • Proof-check that the label doesn't already start with "[TAG]" -- right now, if you add the "patch" label to a title already starting with "[patch]" you get "[patch] [patch] ...". IMO, ideal behaviour would be for it to not act if the title already starts with the new prefix, and to fail if it starts with a different prefix. Mostly just some extra bash work
  • Run the action in reverse, i.e. if the label is updated and it starts with a "[TAG]", add the corresponding label
  • Make it flexible, so that tags are space-separated input with defaults of "patch major minor" so it can add arbitrary title prefixes. Good practice manipulating action input, plus a bit of bash
@liamhuber liamhuber added good first issue Good for newcomers enhancement New feature or request labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant