Skip to content

refactor(workflow): pin all github actions by commit hash #196

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

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

mahula
Copy link
Member

@mahula mahula commented Oct 26, 2024

Motivation

This comment on Github Action versions in Github workflows emphasizes the importance of taking measures to reduce the risk of being affected by supply chain attacks. One Measure is pinning the Github Actions in our workflows by commit hash rather than by tag.

How to test

Just see the workflows work.

@mahula mahula added the dependencies Pull requests that update a dependency file label Oct 26, 2024
@mahula mahula self-assigned this Oct 26, 2024
@mahula mahula changed the title refactor(workflows): pin github actions to hash in workflows refactor(workflow): pin github actions to hash in workflows Oct 26, 2024
@mahula mahula changed the title refactor(workflow): pin github actions to hash in workflows refactor(workflow): pin all github actions by commit hash Oct 26, 2024
Copy link
Member

@Tirokk Tirokk left a comment

Choose a reason for hiding this comment

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

Nice catch 🥰

@mahula mahula merged commit a5b9df4 into master Oct 30, 2024
5 checks passed
@mahula mahula deleted the pin-github-actions-to-hash branch October 30, 2024 09:28
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants