Skip to content

GitHub Actions: require actions to be pinned to full-length commit SHA#9

Merged
figueroa1395 merged 1 commit intomainfrom
pgm/feature/github-actions-commit-sha
Apr 16, 2026
Merged

GitHub Actions: require actions to be pinned to full-length commit SHA#9
figueroa1395 merged 1 commit intomainfrom
pgm/feature/github-actions-commit-sha

Conversation

@mgovers
Copy link
Copy Markdown
Member

@mgovers mgovers commented Apr 16, 2026

This is part of our goal to follow security best practices. See also https://docs.github.com/en/enterprise-cloud@latest/actions/reference/security/secure-use#using-third-party-actions

Cfr. https://docs.github.com/en/enterprise-cloud@latest/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#controlling-access-to-public-actions-and-reusable-workflows :

Require actions to be pinned to a full-length commit SHA: All actions must be pinned to a full-length commit SHA to be used. This includes actions from your enterprise and actions authored by GitHub. Reusable workflows can still be referenced by tag. For more information, see Secure use reference.

So we have to pin also the GitHub-owned (actions/checkout, ...) and PowerGridModel-owned action (pgm-version-bump) before we can enable enforcing.

Relates to:

Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
@figueroa1395 figueroa1395 merged commit b75ff54 into main Apr 16, 2026
5 of 6 checks passed
@figueroa1395 figueroa1395 deleted the pgm/feature/github-actions-commit-sha branch April 16, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file feature New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants