Commit 9be40ce
authored
fix: pin upload-release-action to a commit sha (#444)
svenstaro/upload-release-action was referenced by tag, the only non-SHA
pin left in action.yml - actions/setup-go and anchore/scan-action were
already pinned by commit.
That made this action unusable for any consumer whose organisation
requires full-length SHA pins. The requirement is applied to every action
a composite action references, transitively, and GitHub resolves them all
during job setup, before any step's if: is evaluated. So the reference
failed consumers that never set release-dir and never reach this step,
and it failed as a startup_failure with no step logs, which is hard to
attribute to an upstream dependency.
Refs #443.1 parent 3ff1002 commit 9be40ce
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
320 | 327 | | |
321 | 328 | | |
322 | 329 | | |
323 | 330 | | |
324 | 331 | | |
325 | | - | |
| 332 | + | |
326 | 333 | | |
327 | 334 | | |
328 | 335 | | |
| |||
0 commit comments