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

Feature request: define labels for PRs #24

Open
hugovk opened this issue Nov 19, 2020 · 4 comments
Open

Feature request: define labels for PRs #24

hugovk opened this issue Nov 19, 2020 · 4 comments
Labels
enhancement New feature or request pro

Comments

@hugovk
Copy link

hugovk commented Nov 19, 2020

It would be nice to be able to define labels for PRs.

This would help organising PRs and allow other actions/bots to act on them.

For example, I'd like dependencies and automerge.

It would be good to allow different labels for the autoupdater and other PRs.

@asottile
Copy link
Member

I don't think custom labels will be a thing, or at least not for free tier. maybe a [pre-commit.ci] label without configuration, but I don't think that helps your use case

@asottile asottile added enhancement New feature or request pro labels Nov 19, 2020
@hugovk
Copy link
Author

hugovk commented Nov 19, 2020

Just a plain pre-commit.ci label would be useful for my use case, I could configure Mergify to accept that as well as automerge.

@danyeaw
Copy link

danyeaw commented Nov 23, 2020

https://github.com/TimonVS/pr-labeler-action could do this for you.

In the config file you could create a pre-commit.ci label with:

pre-commit.ci: ['pre-commit-ci-*']

@ssbarnea
Copy link

@danyeaw Thanks for the hint. While it would be awesome for pre-commit.ci itself to be able to add labels for its autoupdate, that workaround may work.

I am using skip-changelog label on a huge number of repositories and I do not see any reason where the pre-commit autoupdate would not fit into that category.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pro
Development

No branches or pull requests

4 participants