From b2931cd7ce1c34aa93cd55ac24185f965b550acd Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Tue, 20 Aug 2024 11:23:04 -0700 Subject: [PATCH] Add global labeler config --- labeler.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 labeler.yml diff --git a/labeler.yml b/labeler.yml new file mode 100644 index 0000000..5bc4aa5 --- /dev/null +++ b/labeler.yml @@ -0,0 +1,39 @@ +change: + - head-branch: ["^change/"] + +enhancement: + - head-branch: ["^feature/", "^feat/", "^enhancement/", "^enh/"] + +bug: + - head-branch: ["^fix/", "^bug/"] + +chore: + - head-branch: ["^chore/"] + +tech-debt: + - head-branch: ["^tech-debt/", "^techdebt/", "^debt/"] + +documentation: + - head-branch: ["^docs/", "^doc/"] + - changed-files: + - any-glob-to-any-file: "**/*.md" + +dependencies: + - head-branch: + ["^deps/", "^dep/", "^dependabot/", "^renovate/", "pre-commit-ci-update-config"] + - changed-files: + - any-glob-to-any-file: ["go.mod", "go.sum"] + +tests: + - any: + - head-branch: ["^tests/", "^test/"] + - changed-files: + - any-glob-to-any-file: "tests/**/*" + - all: + - changed-files: + - all-globs-to-all-files: ["!tests/requirements.txt", "!tests/**/go.mod", "!tests/**/go.sum"] + +helm-chart: + - head-branch: ["^helm/", "^helm-chart/"] + - changed-files: + - any-glob-to-any-file: ["charts/**/*"]