From a68fda510e0d45caba085cad6324c600330ea106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D7=A0=CF=85=CE=B1=CE=B7=20=D7=A0=CF=85=CE=B1=CE=B7=D1=95?= =?UTF-8?q?=CF=83=CE=B7?= Date: Sat, 15 Aug 2026 20:32:29 -0700 Subject: [PATCH 1/2] chore: label the kinds of file this repository holds Adds kind/just -- twenty justfiles across the organization and no label ever matched them. Removes labels matching nothing here. Renames github/action to kind/action so every label shares a prefix, and stops kind/yaml overlapping it. Applies specify-pull-request-labels. Co-Authored-By: Claude Opus 5 (1M context) --- .github/labeler.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 83e4a7863..cb956dd45 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,20 +1,36 @@ --- -github/action: +kind/action: - changed-files: - any-glob-to-any-file: ".github/**/*.yml" kind/docs: - changed-files: - any-glob-to-any-file: "docs/**" + - any-glob-to-any-file: "**/*.md" + +kind/docker: + - changed-files: + - any-glob-to-any-file: "**/Dockerfile*" + - any-glob-to-any-file: "**/*.dockerignore" kind/go: - changed-files: - any-glob-to-any-file: "**/*.go" +kind/just: + - changed-files: + - any-glob-to-any-file: "**/justfile" + - any-glob-to-any-file: "**/*.just" + +kind/ts: + - changed-files: + - any-glob-to-any-file: "**/*.ts" + - any-glob-to-any-file: "**/*.tsx" + kind/yaml: - changed-files: - - any-glob-to-any-file: "**/*.yaml" - - any-glob-to-any-file: "**/*.yml" + - any-glob-to-any-file: ["**/*.yaml", "**/*.yml"] + all-globs-to-all-files: "!.github/**" test/unit: - changed-files: From a36132c5dd0e186c675f4e0e89e1066300634358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D7=A0=CF=85=CE=B1=CE=B7=20=D7=A0=CF=85=CE=B1=CE=B7=D1=95?= =?UTF-8?q?=CF=83=CE=B7?= Date: Sat, 15 Aug 2026 20:44:38 -0700 Subject: [PATCH 2/2] chore: label by purpose as well as format kind/docs matched every markdown file, so agent guidance, policy, the contributing guide and reference documentation were indistinguishable. Splits them, and adds labels for toolchain configuration and dependency manifests -- the latter meaning Dependabot pull requests were arriving unlabelled. LICENSE, .mise.toml and .coverignore were matched by nothing, having no extension a format label could catch. Applies specify-pull-request-labels. Co-Authored-By: Claude Opus 5 (1M context) --- .github/labeler.yml | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index cb956dd45..a3a90c456 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -3,15 +3,22 @@ kind/action: - changed-files: - any-glob-to-any-file: ".github/**/*.yml" -kind/docs: - - changed-files: - - any-glob-to-any-file: "docs/**" - - any-glob-to-any-file: "**/*.md" - kind/docker: - changed-files: - any-glob-to-any-file: "**/Dockerfile*" - - any-glob-to-any-file: "**/*.dockerignore" + - any-glob-to-any-file: "**/.dockerignore" + +kind/deps: + - changed-files: + - any-glob-to-any-file: "**/go.mod" + - any-glob-to-any-file: "**/go.sum" + - any-glob-to-any-file: "**/package.json" + - any-glob-to-any-file: "**/bun.lock" + +kind/docs: + - changed-files: + - any-glob-to-any-file: "README.md" + - any-glob-to-any-file: "docs/**" kind/go: - changed-files: @@ -22,6 +29,22 @@ kind/just: - any-glob-to-any-file: "**/justfile" - any-glob-to-any-file: "**/*.just" +kind/policy: + - changed-files: + - any-glob-to-any-file: "AI_POLICY.md" + - any-glob-to-any-file: "CODE_OF_CONDUCT.md" + - any-glob-to-any-file: "LICENSE" + +kind/toolchain: + - changed-files: + - any-glob-to-any-file: ".mise.toml" + - any-glob-to-any-file: ".golangci.yml" + - any-glob-to-any-file: ".goreleaser.yaml" + - any-glob-to-any-file: "codecov.yml" + - any-glob-to-any-file: ".github/codecov.yml" + - any-glob-to-any-file: ".coverignore" + - any-glob-to-any-file: ".github/dependabot.yml" + kind/ts: - changed-files: - any-glob-to-any-file: "**/*.ts"