ceremony/.github/labeler.yml
claude-bot-andresmgsl 40029242cb fix(round): labeler.yml header tells the truth; labels-scope maps to scope:labels
The mapping header still described actions/labeler@v5 + sync-labels —
the exact mechanism this PR removed; it now describes labels-scope's
base-ref read and additive POST, keeping the #128 incident. The
scope:labels row gains actions/labels-scope/** and its test, and two
fixtures derive against the real mapping so the coverage is tested, not
just present. The reconcile job comment names labels-scope instead of
labeler (grok nit 3).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-24 12:22:09 +00:00

60 lines
2.1 KiB
YAML

# Path → scope:* mapping for the labels workflow's scope job
# (actions/labels-scope since #130: it reads this mapping at the BASE ref
# and its only write is an additive POST, so a label applied while the job
# runs survives the machine — its predecessor, actions/labeler@v5, PUT the
# whole set and clobbered ceremony#128's `release` mid-job). The scope
# taxonomy itself lives in .github/labels.conf; LABELS.md carries the table
# these globs implement. Scopes locate, they do not alert — a path that maps
# to nothing is fine (the mapping is advisory), so these rows chase the big
# surfaces, not every file.
scope:release-flow:
- changed-files:
- any-glob-to-any-file:
- .github/workflows/release.yml
- .github/workflows/self-release.yml
- .github/workflows/release-exercise.yml
- .github/scripts/self-ref-check.sh
- lib/**
- bin/**
- VERSION
- CHANGELOG.md
- changelog.d/**
- drills/**
- test/decide.test.sh
- test/facts.test.sh
- test/release-chain.test.sh
- test/version.test.sh
- test/changelog.test.sh
- test/self-ref.test.sh
scope:guards:
- changed-files:
- any-glob-to-any-file:
- actions/changelog-armed/**
- actions/changelog-monotonic/**
- actions/drill-recorded/**
- test/changelog-armed.test.sh
- test/changelog-monotonic.test.sh
- test/drill-recorded.test.sh
scope:labels:
- changed-files:
- any-glob-to-any-file:
- .github/workflows/labels.yml
- .github/workflows/self-labels.yml
- .github/labeler.yml
- .github/labels.conf
- actions/labels-reconcile/**
- actions/labels-scope/**
- LABELS.md
- test/labels.test.sh
- test/labels-reconcile.test.sh
- test/labels-scope.test.sh
scope:docs:
- changed-files:
- any-glob-to-any-file:
- README
- docs/**
- AGENTS.md
- BUILDER.md
- REVIEWER.md
- TRIAGE.md
- CONTRIBUTING.md