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

Support for labeling based on PR title #809

Open
rzvxa opened this issue Oct 5, 2024 · 4 comments
Open

Support for labeling based on PR title #809

rzvxa opened this issue Oct 5, 2024 · 4 comments
Labels
feature request New feature or request to improve the current logic

Comments

@rzvxa
Copy link

rzvxa commented Oct 5, 2024

Description:
It would be nice if we could use this action to set up a step that would label PRs based on their title.
Take feat(xxx): something and fix(yyy): something else as examples.
We can write a configuration like this:

T-feat:
  - pr-title: "^feat"

T-fix:
 - pr-title: "^fix"

And get respective labels on PRs based on their titles.

Justification:
Allows automation for workflows that have PR naming conventions and we already have something similar with the branch names, So if there isn't an API restriction making it impossible it can be a useful addition.

Are you willing to submit a PR?
Yes

@rzvxa rzvxa added feature request New feature or request to improve the current logic needs triage labels Oct 5, 2024
@gowridurgad
Copy link

Hello @rzvxa,
Thank you for creating this feature request. We will investigate it and get back to you as soon as we have some feedback.

@rzvxa
Copy link
Author

rzvxa commented Oct 7, 2024

Hello @rzvxa, Thank you for creating this feature request. We will investigate it and get back to you as soon as we have some feedback.

Thanks, I appreciate your time❤️

@iamironz
Copy link

This would be very beneficial; please consider implementing it.
Thank you in advance!

@benfielden-onx
Copy link

For our case we would also find this very useful for applying a "DO-NOT-MERGE" label to a PR when they have "do not merge" in the title

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

4 participants