Skip to content

build: pin GitHub Actions to full commit SHAs (#382) - #383

Merged
oriolpetithelical merged 1 commit into
releasefrom
main
Jul 9, 2026
Merged

build: pin GitHub Actions to full commit SHAs (#382)#383
oriolpetithelical merged 1 commit into
releasefrom
main

Conversation

@oriolpetithelical

Copy link
Copy Markdown
Contributor
  • build: pin GitHub Actions to full commit SHAs

Pin every uses: reference in the workflows to a full 40-char commit SHA and add .github/dependabot.yml.

Mutable action tags (e.g. @v4, @release/v1) can be silently repointed by the action owner, enabling supply-chain attacks (OWASP A08, CWE-1357 / CWE-353) -- as seen in the tj-actions / trivy-action compromises. Pinning to an immutable SHA removes that risk; the trailing # <version> comment keeps it readable and lets Dependabot open reviewable update PRs. Runners are confirmed on Node24, so actions were bumped to their latest majors (checkout v5, ecr-login v2.1.6, etc.).

Refs helicalAI/dashboard#1154

* build: pin GitHub Actions to full commit SHAs

Pin every `uses:` reference in the workflows to a full 40-char commit SHA
and add .github/dependabot.yml.

Mutable action tags (e.g. @v4, @release/v1) can be silently repointed by the
action owner, enabling supply-chain attacks (OWASP A08, CWE-1357 / CWE-353) --
as seen in the tj-actions / trivy-action compromises. Pinning to an immutable
SHA removes that risk; the trailing `# <version>` comment keeps it readable and
lets Dependabot open reviewable update PRs. Runners are confirmed on Node24, so
actions were bumped to their latest majors (checkout v5, ecr-login v2.1.6, etc.).

Refs helicalAI/dashboard#1154
@oriolpetithelical
oriolpetithelical merged commit 01dc9f1 into release Jul 9, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants