Skip to content

GROSS-1358: SHA-pin GitHub Actions and enable Dependabot#37

Merged
pavlovic-ivan merged 1 commit into
G-Research:masterfrom
dev-milos:chore/gr-oss-1358-sha-pin-actions
Jun 23, 2026
Merged

GROSS-1358: SHA-pin GitHub Actions and enable Dependabot#37
pavlovic-ivan merged 1 commit into
G-Research:masterfrom
dev-milos:chore/gr-oss-1358-sha-pin-actions

Conversation

@dev-milos

Copy link
Copy Markdown
Contributor

What

Pin all GitHub Actions references to full commit SHAs (with trailing # <version> comments) and enable Dependabot for the github-actions ecosystem.

Ref: G-Research/gr-oss#1358

Why

A mutable @vN (or branch) ref can be silently rewritten upstream or by a compromised account and is picked up immediately by every workflow run. Pinning to an immutable commit SHA closes that supply-chain risk; the trailing # <version> comment keeps the pin human-readable. Dependabot is enabled so the pins are kept up to date automatically.

Notes

  • pypa/gh-action-pypi-publish@release/v1 was tracking a rolling branch; it is now pinned to the SHA at v1.14.0.
  • The local reusable-workflow reference (./.github/workflows/release.yml) is left as-is (local refs are not pinnable).
  • Other actions pinned to their current major's SHA — a pin, not a version bump.

Pin all action references to a full commit SHA with a trailing version
comment, and add a github-actions Dependabot ecosystem so the pins are
kept current.

Ref: G-Research/gr-oss#1358
@pavlovic-ivan pavlovic-ivan merged commit 140a038 into G-Research:master Jun 23, 2026
2 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.

3 participants