Skip to content

Commit

Permalink
chore: renovate bot setting to pin actions to a full length commit SHA (
Browse files Browse the repository at this point in the history
#2724)

- 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
  • Loading branch information
naveensrinivasan authored May 30, 2022
1 parent c3961d6 commit 1b40888
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": [
"config:base"
"config:base",
"helpers:pinGitHubActionDigests"
],
"baseBranches": [
"v1",
Expand Down

0 comments on commit 1b40888

Please sign in to comment.