Commit 9a15efb
authored
ci(repo-ci): scan the full push range for attribution residue (#30)
On `pull_request` the attribution-residue step scans
`origin/<base>..HEAD`. On `push`, `github.base_ref` is empty, so
`AI_RESIDUE_BASE_REF` resolved to a bogus ref and the checker fell back
to scanning only the single HEAD commit.
This widens push-event coverage to `github.event.before..HEAD` (every
commit in the push) and stops re-scanning commits already on the base
branch. The marker-matching logic is unchanged — this only fixes the
commit range on push events. Resolves the spurious failure on the latest
`main` run.1 parent 5b394f4 commit 9a15efb
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| |||
0 commit comments