From 28b97ec16bc8cdb09c351fcdc6fb5005c9292fd2 Mon Sep 17 00:00:00 2001 From: Naveen <172697+naveensrinivasan@users.noreply.github.com> Date: Tue, 14 Jun 2022 14:15:22 -0500 Subject: [PATCH] chore: renovate bot setting to pin actions to a full length commit SHA (#3189) - 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 --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index fd69474d6..40925d86b 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,5 @@ { - "extends": ["config:base", "schedule:earlyMondays"], + "extends": ["config:base", "schedule:earlyMondays","helpers:pinGitHubActionDigests"], "prConcurrentLimit": 1, "ignorePaths": ["docker-examples/**"], "ignoreDeps": ["eslint-plugin-verdaccio", "@verdaccio/test-helper"],