Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin versions of 3rd-party actions and GitHub runners #886

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mhucka
Copy link
Contributor

@mhucka mhucka commented Feb 15, 2025

Google's terms for allowing the use of GitHub Actions on Google-owned repositories requires that third-party actions be referenced using a specific commit, not a tagged release or a branch name. They also recommend that GitHub-hosted runners be referenced by fixed versions and not "-latest". (Internal doc link: go/github-actions#actions)

The SHAs for GitHub Actions in this commit were obtained using frizbee. The runner versions equivalent to the "-latest" runners are based on the table at https://github.com/actions/runner-images

Google security best practices recommend the use of specific runner
operating system versions instead of "-latest". (Internal
documentation link: go/github-actions#actions)
Google's terms for allowing the use of GitHub Actions on Google-owned
repositories requires that third-party actions be referenced using a
specific commit, not a tagged release or a branch name. (Internal doc
link: go/github-actions#actions)

The version numbers in this commit were obtained using
[frizbee](https://github.com/stacklok/frizbee).
@mhucka mhucka requested a review from Strilanc February 15, 2025 06:05
@mhucka mhucka enabled auto-merge (squash) February 16, 2025 01:20
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