aboutsummaryrefslogtreecommitdiffstats
path: root/.github/labeler.yml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-09-07 23:30:03 +0200
committerGitHub <noreply@github.com>2023-09-07 21:30:03 +0000
commitcfa352711834e0c05cce1db9d5c73c4c2eb8e2b6 (patch)
tree8ef6c0b8b35968ebe443f59131e0fe865023fa5c /.github/labeler.yml
parent1a9953348cbb8e8205dc1f923d17b3e40e9f64e0 (diff)
downloadgitea-cfa352711834e0c05cce1db9d5c73c4c2eb8e2b6.tar.gz
gitea-cfa352711834e0c05cce1db9d5c73c4c2eb8e2b6.zip
Add `actions/labeler` (#26962)
Implements https://github.com/GiteaBot/gitea-backporter/issues/93 using [`actions/labeler`](https://github.com/actions/labeler). Very basic configuration, can be extended later.
Diffstat (limited to '.github/labeler.yml')
-rw-r--r--.github/labeler.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000000..34713f078e
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,24 @@
+kind/docs:
+ - **/*.md
+ - docs/**/*
+
+kind/ui:
+ - web_src/**/*
+ - all: ["templates/**/*", "!templates/swagger/v1_json.tmpl"]
+
+kind/api:
+ - templates/swagger/v1_json.tmpl
+
+kind/build:
+ - Makefile
+ - Dockerfile
+ - Dockerfile.rootless
+ - docker/**
+ - webpack.config.js
+
+kind/lint:
+ - .eslintrc.yaml
+ - .golangci.yml
+ - .markdownlint.yaml
+ - .spectral.yaml
+ - .stylelintrc.yaml