forked from yardenshoham/gitea-backporter
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed as not planned
Description
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:
- If any path is modified. For example, every change in
Makefile
should get abuild
label. - If only a path is modified. For example a change only in
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:
autolabels:
only:
- globs: [docs/**]
labels: [kind/docs, skip-changelog]
any:
- globs: [Makefile]
labels: [build]
lunny
Metadata
Metadata
Assignees
Labels
No labels