chore: renovate bot setting to pin actions to a full length commit SHA (#46060)

- 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
- b0c3aa85ef/default.json (L13)
pull/45994/head^2
Naveen 2022-05-19 12:51:21 -05:00 committed by GitHub
parent b9f3345721
commit fb50af096c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
{
"extends": ["github>freecodecamp/renovate-config"],
"extends": [
"github>freecodecamp/renovate-config",
"helpers:pinGitHubActionDigests"
],
"packageRules": [
{
"groupName": "Monaco Editor",