Skip to content

Support for labeling based on PR title #809

Open
@rzvxa

Description

@rzvxa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions