Skip to content
Merged
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
73 changes: 73 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,76 @@
- name: documentation-drift
description: Documentation out of sync with code
color: "ff6b6b"

# SOP Labels β€” governance trail on every PR (one mandatory)
- name: sop:pr-sop-01
description: PR-SOP-01 Problem Resolution (bug / anomaly fix)
color: "5319e7"

- name: sop:cc-sop-01
description: CC-SOP-01 Change Control (feature / planned change)
color: "1d76db"

# Type Labels β€” conventional-commits taxonomy (one per PR)
# Extends the legacy `bug` / `documentation` / `enhancement` labels with
# the rest of the conventional-commit vocabulary. Legacy labels remain
# for backward-compatibility with issue templates and external tooling;
# the `type:*` namespace is the source of truth for PR-level filtering.
- name: type:feature
Comment on lines +137 to +151
Copy link

Copilot AI Apr 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR description says this adds 14 new labels, but this diff introduces 16 (2 sop:* + 9 type:* + 2 security* + 2 scope:* + auto-merge). Please reconcile the count in the PR description (or remove/adjust labels) so the change record matches the actual source-of-truth config.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks β€” the count was wrong. It's 16 new labels (2 sop:* + 9 type:* + 2 security:* + 2 scope:* + 1 auto-merge), not 14. Fixed in the PR description and in the linked Jira ticket PYSDK-94. The commit message still says "14" and will stay as is on this branch; when auto-merge squashes it, I'll let the PR title be the source of truth (it already reads just 'add sop:, type:, security:, scope:, auto-merge labels' with no count).

description: New functionality (conventional feat)
color: "a2eeef"

- name: type:fix
description: Bug fix (conventional fix)
color: "d73a4a"

- name: type:chore
description: Tooling, maintenance, routine task (conventional chore)
color: "c5def5"

- name: type:refactor
description: Refactor without behaviour change
color: "fbca04"

- name: type:docs
description: Documentation-only change
color: "0075ca"

- name: type:test
description: Test-only change
color: "006b75"

- name: type:perf
description: Performance improvement
color: "4b0082"

- name: type:build
description: Build / packaging change
color: "5319e7"

- name: type:ci
description: CI/CD change
color: "000000"

# Security Labels β€” orthogonal axis (0–2 per PR)
- name: security
description: Addresses a security advisory, CVE, or hardens security posture
color: "b60205"

- name: security:supply-chain
description: Supply-chain (dependency) vulnerability remediation
color: "d93f0b"

# Scope Labels β€” who the change affects (0–1 per PR)
- name: scope:sdk-consumers
description: Affects downstream SDK consumers (uvx aignostics / uv add aignostics)
color: "0e8a16"

- name: scope:dev-only
description: Affects only our dev/CI env; consumers unaffected
color: "bfdadc"

# Automation Labels
- name: auto-merge
description: Eligible for auto-merge once CI is green
color: "0e8a16"
Loading