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

Reference actions by commit SHA #408

Closed
wants to merge 3 commits into from
Closed

Conversation

gabibguti
Copy link
Contributor

Resolves #377

This PR changes GitHub Actions being referenced by tags like @v1 to @{commit-SHA}.
We're not updating oss-fuzz since the project architecture does not support referencing by commit SHA.

Also, I noticed the action lukka/run-vcpkg is being used in major 7, but already has a major 11, would you like me to try bumping that action?

It's important to make sure the SHA's are from the original repositories and not forks.

For reference:

https://github.com/actions/upload-artifact/releases/tag/v3.1.2
actions/upload-artifact@0b7f8ab

Also, we're not updating oss-fuzz since the project architecture does not support releases.

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
It's important to make sure the SHA's are from the original repositories and not forks.

For reference:

https://github.com/actions/checkout/releases/tag/v3.5.3
actions/checkout@c85c95e

https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.14.2
github/codeql-action@f9a7c67

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
@gabibguti
Copy link
Contributor Author

To install renovatebot, configure it in this link: https://github.com/apps/renovate
You can follow these instructions to do the configuration: https://github.com/renovatebot/tutorial#part-1---installation

@dillof
Copy link
Member

dillof commented Sep 27, 2023

Since we are not using anything produced by the build (except for the build log in case of errors), we don't think the added complexity is worth it. Also, we're only using actions from GitHub, Google, and the vcpkg team, which have easier and harder to detect ways to screw up our build.

I understand why this makes sense in other contexts, where the automated builds play a more central role.

@dillof dillof closed this Sep 27, 2023
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.

Reference actions by commit SHA
2 participants