Commit 37dcb98
Count the sentinel only when it is modified
This fixes the gate step skipping a pull request that adds test/needs-o2-dev
rather than edits it.
- Opting into the source build means editing the existing sentinel, so the
check now uses a Modified-only file list.
- The pull request introducing the sentinel adds it, and so tripped its own
opt-out and passed without running any test.
- The relevance check still uses the full list, so deletions keep counting.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 5f64b37 commit 37dcb98
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
| |||
0 commit comments