-
Notifications
You must be signed in to change notification settings - Fork 9
Idea: Auto-Set labels based on modified path #93
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
Comments
I think it makes more sense to have the file here |
Multiple benefits of having bot config in-repo:
|
Something like this would be nice: https://github.com/nodejs/node/blob/main/.github/label-pr-config.yml Regex (with capture groups!) is the absolute flexibilty. |
BTW, Here is the repo for that bot which is acually just a action in disguise: |
Of course more generic actions for this exist, like https://github.com/actions/labeler, so I think we likely should not do it in this bot at all. |
Agreed |
Implements GiteaBot/gitea-backporter#93 using [`actions/labeler`](https://github.com/actions/labeler). Very basic configuration, can be extended later.
Uh oh!
There was an error while loading. Please reload this page.
From go-gitea/gitea#25667 (comment), I think it would be useful if the bot could auto-set some labels based on modified path. There are two kind of matching mechanisms needed:
Makefile
should get abuild
label.docs
should get akind/docs
label and maybe askip-changelog
, but a change that includes changes indocs
andtemplates
should not.The config should be in the repo itself in
.github/giteabot.yaml
to be flexible to change:The text was updated successfully, but these errors were encountered: