Open
Description
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
Activity
gowridurgad commentedon 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.
rzvxa commentedon Oct 7, 2024
Thanks, I appreciate your time❤️
iamironz commentedon Oct 28, 2024
This would be very beneficial; please consider implementing it.
Thank you in advance!
benfielden-onx commentedon Dec 11, 2024
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
HaydenReeve commentedon May 16, 2025
This would be a huge benefit for our use case as well. We don't enforce anything on individual branches, only on the actual merge where we squash and use the PR title and description.
So our branch names aren't curated, but our PR titles are. Which unfortunately falls outside of the current action configuration.
shadoath commentedon May 31, 2025
Tracking this with the good work done in #866.