-
Notifications
You must be signed in to change notification settings - Fork 85
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
chore(gh): update release #1428
base: master
Are you sure you want to change the base?
Conversation
5084653
to
4a440ec
Compare
- Correct formatting. - Pin GitHub Actions to release commit SHA. Signed-off-by: Ryan Johnson <[email protected]>
4a440ec
to
1ce748d
Compare
@tenthirtyam what's the advantage of specifying the version in this way? Are you concerned that compatibility will break by GH action changes? |
From the GH docs: "Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork." |
Yeah I understand that you intend to enforce a specific sub-version of the action. The question is why? As if anyone fixes anything we won't see it. Are you worried about compatibility? |
Using a specific commit SHA when specifying a GitHub Action ensures the workflow runs against a known state of the action. This guarantees reliability, stability, and security by ensuring that the exact code specified is used, even if the version tag is modified later. Dependabot will then automatically manage open PRs to update actions using the |
@vmware/terraform-provider-nsxt-maintainers: reminder. |
Summary of Pull Request
Type of Pull Request
Please describe:
Related to Existing Issues
Test and Documentation Coverage
For bug fixes or features:
Breaking Changes?