Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: use commit sha for GitHub actions #15019

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 2 commits into from
Oct 14, 2024

Conversation

matifali
Copy link
Member

@matifali matifali commented Oct 8, 2024

Use specific commit SHAs for GitHub actions across various workflows to enhance reliability and reproducibility. This change ensures that actions run against a known version, reducing the risk of unexpected issues due to updates in the third-party action repositories.

This contributes to improving the score in #14879

Use specific commit SHAs for GitHub actions across various workflows to enhance reliability and reproducibility. This change ensures that actions run against a known version, reducing the risk of unexpected issues due to updates in the third-party action repositories.
Comment on lines -15 to -16
with:
version: 9.6
Copy link
Member Author

Choose a reason for hiding this comment

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

removed to use the version from packages.json

Copy link
Member Author

Choose a reason for hiding this comment

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

we specified pnpm version 9.7 in package.json and 9.6 here, which was conflicting.
cc: @BrunoQuaresma @aslilac

@matifali matifali changed the title chore: update actions in GitHub workflows to specific commits chore: use commit sha for GitHub actions Oct 9, 2024
@matifali matifali requested a review from phorcys420 October 12, 2024 18:48
@matifali matifali merged commit 57a65c1 into main Oct 14, 2024
35 checks passed
@matifali matifali deleted the ossf/use-hashe-for-github-actions branch October 14, 2024 15:49
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2024
@matifali matifali linked an issue Oct 15, 2024 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pin all github workflow actions by hash
2 participants