Repository navigation
Commit e18c636
authored
Pin GitHub Actions to commit SHAs (#270)
Pins GitHub Actions `uses:` references in `github/accessibility-scanner`
to immutable commit SHAs.
## Summary
| Metric | Count |
| --- | ---: |
| Files changed | 3 |
| Files scanned | 2 |
| Refs found | 3 |
| Refs pinned | 3 |
| Skipped refs | 0 |
| Warnings | 0 |
| Errors | 0 |
## Why
Pinning actions to full commit SHAs prevents future tag or branch
retargeting from changing workflow behavior without review.
## Reviewer notes
- Original refs are preserved in inline comments when possible.
- Pin comments use the Dependabot-compatible original-ref style.
- Branch refs were allowed and pinned to their current HEAD; review
mutable-branch pins carefully.
- No minimum action age was enforced for this run.
## Pinned refs
| Location | Before | After | Resolved as |
| --- | --- | --- | --- |
| `.github/workflows/lint.yml:26` | `actions/checkout@v7` |
`actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1` | `tag` |
| `.github/workflows/lint.yml:29` | `actions/setup-node@v7` |
`actions/setup-node@820762786026740c76f36085b0efc47a31fe5020` | `tag` |
| `.github/workflows/test.yml:34` | `actions/checkout@v7` |
`actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1` | `tag` |
## Dependabot
- Added a 7-day cooldown (`cooldown: default-days: 7`) to the existing
`github-actions` Dependabot configuration.
- The cooldown delays applying a newly published action release for 7
days, reducing exposure to a compromised or broken release while keeping
you SHA-pinned.
---
Generated by pinner 0.1.0.1 parent d78e663 commit e18c636
3 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments