Commit 01d5dfd
committed
fix(tooling): run the docs-drift workflow when the mapper itself changes
CI on the first push of this PR showed the gap: `Flag docs affected by code changes`
never ran, because the workflow triggers on `paths: ['packages/**']` and this PR
touches only `scripts/` and `.github/`. So the self-test step added one commit ago was
added but never exercised, and editing `affected-docs.mjs` was the one change its own
guard could structurally never see — the tool is unguarded exactly when it is being
modified.
Adds the mapper's own paths to the trigger. A PR touching only these gets the benign
"No hand-written docs reference the 0 changed package(s). ✅" branch the comment step
already has, which is the correct answer, and the self-test now runs on the change most
likely to break it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QoA8AV99Ss1RRkLLAYmDzq1 parent f8ec36f commit 01d5dfd
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
| |||
0 commit comments