Commit fedfe57
chore(actions): pin workflow actions to immutable commit SHAs (#386)
### Description
Pin all GitHub Actions `uses:` references from floating tags to
immutable commit SHAs. This prevents unexpected upstream changes while
preserving the original tag in an inline comment so Dependabot can
continue proposing version updates.
**Actions pinned:**
- `actions/checkout` → `de0fac2e4500dabe0009e67214ff5f5447ce83dd` (`#
v6`)
- `actions/setup-node` → `53b83947a5a98c8d113130e565377fae1a50d02f` (`#
v6`)
- `pnpm/action-setup` → `fc06bc1257f339d1d5d8b3a19a8cae5388b55320` (`#
v4.4.0`)
- `softprops/action-gh-release` →
`3bb12739c298aeb8a4eeaf626c5b8d85266b0e65` (`# v2`)
Resolves or fixes issue: #385
### AI Tool Disclosure
- [x] My contribution includes AI-generated content, as disclosed below:
- AI Tools: `GitHub Copilot (coding agent)`
- LLMs and versions: `Claude Sonnet 4.5`
- Prompts: `Pin GitHub Actions to commit SHAs while keeping tag
references for Dependabot detectability`
### Affirmation
- [x] My code follows the
[CONTRIBUTING.md](https://github.com/CycloneDX/cyclonedx-node-module/blob/master/CONTRIBUTING.md)
guidelines
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jkowalleck <2765863+jkowalleck@users.noreply.github.com>
Co-authored-by: Jan Kowalleck <jan.kowalleck@gmail.com>1 parent c44f97f commit fedfe57
2 files changed
Lines changed: 12 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
0 commit comments