Commit 914364d
committed
fix(ci): keep reusable pin token out of scorecard.yml comment
The estate staleness check greps every workflow line for
"scorecard-reusable.yml@" and extracts the SHA after it. The #42 comment
("... declared by scorecard-reusable.yml@d72fe5a.") added a SECOND match,
so the extracted PINNED_SHA became two lines and never equalled the
expected single SHA — a false "stale Scorecard reusable" failure even
though the actual `uses:` pin is correct. Reword the comment to drop the
token, with a NOTE to prevent regression. Verified locally:
check-workflow-staleness.sh@d72fe5a now exits 0.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LvsZgNxFbeqfRmrVFNhJ8G1 parent a5eed60 commit 914364d
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
0 commit comments