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
Makefileshould get abuildlabel. - If only a path is modified. For example a change only in
docsshould get akind/docslabel and maybe askip-changelog, but a change that includes changes indocsandtemplatesshould 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