Skip to content

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

Merged
pavlovic-ivan merged 2 commits into
G-Research:mainfrom
dev-milos:chore/gr-oss-1358-sha-pin-actions
Jun 24, 2026
Merged

GROSS-1358: SHA-pin GitHub Actions and enable Dependabot#22
pavlovic-ivan merged 2 commits into
G-Research:mainfrom
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 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

  • Actions pinned to their current major's SHA — a pin, not a version bump. Future upgrades are left to Dependabot.

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

@mladjan-gadzic mladjan-gadzic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@pavlovic-ivan pavlovic-ivan merged commit 076dd84 into G-Research:main Jun 24, 2026
23 of 24 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