Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ trim_trailing_whitespace = false

[*.sh]
indent_size = 4

[*.py]
indent_size = 4
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
/poetry.lock
/uv.lock
/Pipfile.lock
/requirements*.txt
/*requirements*.txt
**/pyproject.toml
**/poetry.lock
**/uv.lock
**/Pipfile.lock
**/requirements*.txt
**/*requirements*.txt

# Go
/go.mod
Expand Down
5 changes: 5 additions & 0 deletions .yamlfmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ exclude:
- apm.yml
- apm.lock.yaml
- apm_modules/**
# Spec Kit output and Python virtual environments. Listed explicitly rather
# than through gitignore_excludes: without a .gitignore, yamlfmt then lints
# nothing and still exits 0.
- .specify/**
- .venv*/**
4 changes: 3 additions & 1 deletion dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
".gemini/**",
".windsurf/**",
".kiro/**",
".agents/**"
".agents/**",
".github/skills/**",
".specify/**"
],
"plugins": [
"https://plugins.dprint.dev/markdown-0.21.1.wasm"
Expand Down
43 changes: 25 additions & 18 deletions issue-labeler.yaml
Original file line number Diff line number Diff line change
@@ -1,43 +1,50 @@
---
# Conventional Commit type prefixes (from cog/cliff config)
# Rules for github/issue-labeler v3 (see .github/workflows/labeler.yml).
#
# - Write case-insensitive patterns as '/pattern/i'. The action builds a
# JavaScript RegExp, which rejects inline flags such as '(?i)'.
# - The action ANDs the entries listed under a label, so each label has one
# pattern and "either/or" lives in a single alternation.
# - The issue title and body are matched together, title first. Without the
# 'm' flag, '^' anchors at the start of the title.
#
# Tests: tests/issue-labeler-config.py

# Conventional Commit type prefix, or a keyword (from cog/cliff config)
feat:
- '^feat(\(.+\))?:'
- '(?i)(feature request|enhancement|add support|would be (nice|great)|request)'
- '/^feat(\(.+\))?!?:|\b(feature request|enhancement|add support|would be (nice|great))/i'

fix:
- '^fix(\(.+\))?:'
- '(?i)(error|crash|fail|broken|not work|doesn.t work|bug)'
- '/^fix(\(.+\))?!?:|\b(errors?|crash(es|ed|ing)?|fail(s|ed|ing|ures?)?|broken|not work(s|ing)?|doesn.t work|bugs?)\b/i'

perf:
- '^perf(\(.+\))?:'
- '/^perf(\(.+\))?!?:/i'

refactor:
- '^refactor(\(.+\))?:'
- '/^refactor(\(.+\))?!?:/i'

docs:
- '^docs(\(.+\))?:'
- '(?i)(doc|readme|wiki|guide|tutorial|documentation)'
- '/^docs(\(.+\))?!?:|\b(docs?|readme|wiki|guides?|tutorials?|documentation)\b/i'

ci:
- '^ci(\(.+\))?:'
- '(?i)(github action|workflow|pipeline|\.github)'
- '/^ci(\(.+\))?!?:|\b(github actions?|workflows?|pipelines?)\b|\.github\b/i'

chore:
- '^chore(\(.+\))?:'
- '/^chore(\(.+\))?!?:/i'

# Area labels
area/apps:
- '(?i)(app|service|container|docker)'
- '/\b(apps?|services?|containers?)\b|\bdocker/i'

area/github:
- '(?i)(github action|workflow|ci|pipeline|\.github)'
- '/\b(github actions?|workflows?|ci|pipelines?)\b|\.github\b/i'

area/renovate:
- '(?i)(renovate|dependency|dependenc|update.*package|package.*update)'
- '/\b(renovate|dependenc|update.*package|package.*update)/i'

area/scripts:
- '(?i)(script|automation|bash|shell|cron)'
- '/\b(scripts?|automation|bash|shell)\b|\bcron/i'

# General
# General: a question mark in the title, or a question keyword
question:
- '(?i)(how (do|to|can)|question|\?)'
- '/^[^\n]*\?|\b(how (do|to|can)|question)\b/i'
38 changes: 33 additions & 5 deletions pr-labeler.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,54 @@
---
# Rules for actions/labeler v7 (see .github/workflows/labeler.yml).
#
# config-sync overwrites this file in every repository, so no rule may assume
# one repository layout. Globs run with `dot: true`. Items under one
# `changed-files` key are alternatives (any of them labels the PR).
#
# Tests: tests/pr-labeler-config.py

# Application code: a changed file under a conventional top-level source
# directory, except docs, scripts, tests and hidden directories at any depth,
# Markdown and shell scripts (those belong to area/docs or area/scripts).
# Other top-level directories (infra/, config/, public/, home/, ...) and
# root-level files get no area/apps.
area/apps:
- changed-files:
- any-glob-to-any-file:
- services/**/*
- all-globs-to-any-file:
- '{src,app,apps,services,packages,crates,lib,cmd,pkg,internal,backend,frontend}/**'
- '!**/.*/**'
- '!**/{doc,docs}/**'
- '!**/{script,scripts}/**'
- '!**/{test,tests,e2e,__tests__}/**'
- '!**/*.{md,mdx}'
- '!**/*.{sh,bash,ps1,psm1}'

area/docs:
- changed-files:
- any-glob-to-any-file:
- docs/**/*
- '**/{doc,docs}/**'
- all-globs-to-any-file:
- '**/*.{md,mdx}'
- '!**/CHANGELOG.md'

area/github:
- changed-files:
- any-glob-to-any-file:
- .github/**/*
- .github/**

area/renovate:
- changed-files:
- any-glob-to-any-file:
- renovate.json
- renovate.json5
- .github/renovate.json
- .github/renovate.json5
- .renovaterc
- .renovaterc.json
- .renovaterc.json5

area/scripts:
- changed-files:
- any-glob-to-any-file:
- scripts/**/*
- '**/{script,scripts}/**'
- '**/*.{sh,bash,ps1,psm1}'
Loading