Commit e1e83cf
committed
fix(ci): duplicate-fix-guard ignores closing keywords inside code spans and fenced blocks
The guard's first real run — on its own PR — counted the PR body's
backticked DISCUSSION of 'Fixes #4551' as a declaration. GitHub's own
closing-keyword parser ignores code formatting; a guard stricter than
the linker it protects turns prose mentions of other PRs' fix lines
into spurious reds. Strip ```fences``` and `spans` before matching.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017gEHJN2NFpS9VMeURvakgD1 parent b05b537 commit e1e83cf
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
51 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
52 | 63 | | |
53 | | - | |
| 64 | + | |
54 | 65 | | |
55 | 66 | | |
56 | 67 | | |
| |||
0 commit comments