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 GitHub Actions to digest #260

Closed
rdimitrov opened this issue Jul 12, 2024 · 2 comments
Closed

Pin GitHub Actions to digest #260

rdimitrov opened this issue Jul 12, 2024 · 2 comments
Labels
needs member attention wontfix This will not be worked on

Comments

@rdimitrov
Copy link

Hey there 👋
I work on an open source security project (Frizbee) that can automatically pin GitHub Actions to digests (instead of floating tags).

The Frizbee team is trying to spread the word to open source maintainers about the need for this, because pinning your actions to commit hashes is the only way to get an immutable pointer to a specific revision. If an action's source code repo is compromised by a malicious actor, you'll still be referencing a known-good version and your project won't be at risk.

If you want to implement actions pinning, here's how you can easily do this with Frizbee (to avoid having to manually look up the digest for each tag or branch):

  1. Install the Frizbee CLI by following these instructions
  2. Use the frizbee actions command to parse all of your Actions workflows and replace the needed tags with the commit checksum
  3. Done!

Note: Dependabot supports updating pinned actions and will continue to update them. For convenience, Frizbee appends a comment with the version of this action.

If it's easier for you, I can go ahead and create a PR for the above steps. I wanted to make sure this was something you'd want to move forward with first before doing that.

@gkwan-ibm
Copy link
Member

gkwan-ibm commented Jul 23, 2024

Because this project does not generate any container image or build any binary file, I doubt generating checksum is needed

@gkwan-ibm gkwan-ibm added the wontfix This will not be worked on label Jan 9, 2025
@gkwan-ibm
Copy link
Member

close

  • won't fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs member attention wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants