From 778e5e4b04e106c23e44d82d704ac9e3fcf5d960 Mon Sep 17 00:00:00 2001 From: Marek 'seqre' Grzelak Date: Mon, 23 Mar 2026 20:42:09 +0100 Subject: [PATCH 1/2] chore: improve automatic labeler --- .github/dependabot.yml | 4 ++++ .github/labeler.yml | 30 +++++++++++++++++++++--------- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 85472f55..da594d38 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,6 +10,8 @@ updates: update-types: - minor - patch + labels: + - A-deps - package-ecosystem: github-actions directory: / @@ -19,3 +21,5 @@ updates: dependencies: patterns: - "*" + labels: + - A-deps diff --git a/.github/labeler.yml b/.github/labeler.yml index 6f5f0b31..9894fb23 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,19 +1,31 @@ -C-lib: +# AREAS +A-ci: - changed-files: - - any-glob-to-any-file: ['cot/**'] + - any-glob-to-any-file: [".github/**/*.yml"] -C-cli: +A-docs: - changed-files: - - any-glob-to-any-file: ['cot-cli/**'] + - any-glob-to-any-file: ["docs/**", "**/*.md"] -C-macros: +A-deps: + - changed-files: + - any-glob-to-any-file: ["**/Cargo.toml", "Cargo.lock"] + +# CRATES +C-lib: - changed-files: - - any-glob-to-any-file: ['cot-macros/**'] + - any-glob-to-any-file: ["cot/**"] + +C-cli: + - changed-files: + - any-glob-to-any-file: ["cot-cli/**"] C-codegen: - changed-files: - - any-glob-to-any-file: ['cot-codegen/**'] + - any-glob-to-any-file: ["cot-codegen/**"] -A-ci: +C-macros: - changed-files: - - any-glob-to-any-file: ['.github/**'] + - any-glob-to-any-file: ["cot-macros/**"] + +# OTHERS From 6ecc6ae50cadeedd41987689e55021264bae7696 Mon Sep 17 00:00:00 2001 From: Marek Grzelak Date: Sun, 29 Mar 2026 19:16:35 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Marek Grzelak --- .github/labeler.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 9894fb23..c0041b79 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -9,7 +9,7 @@ A-docs: A-deps: - changed-files: - - any-glob-to-any-file: ["**/Cargo.toml", "Cargo.lock"] + - any-glob-to-any-file: ["**/Cargo.lock"] # CRATES C-lib: @@ -24,6 +24,10 @@ C-codegen: - changed-files: - any-glob-to-any-file: ["cot-codegen/**"] +C-core: + - changed-files: + - any-glob-to-any-file: ["cot-core/**"] + C-macros: - changed-files: - any-glob-to-any-file: ["cot-macros/**"]