Skip to content

Commit d785a56

Browse files
chore: renovate bot setting to pin actions to a full length commit SHA (#2613)
- https://docs.renovatebot.com/modules/manager/github-actions/#additional-information - Pinned actions by SHA https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies >Pin actions to a full length commit SHA >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. - https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions - https://github.com/renovatebot/.github/blob/b0c3aa85ef2bb242580f20b02b380ca532b4ce17/default.json#L13
1 parent 7c3a700 commit d785a56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

renovate.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": [
3-
"config:base"
3+
"config:base",
4+
"helpers:pinGitHubActionDigests"
45
],
56
"baseBranches": ["release/4.1.x", "release/4.2.x", "release/5.0.x"],
67
"dependencyDashboard": true,

0 commit comments

Comments
 (0)