-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
document renovate exception for generator to use tags instead of dige…
…sts. (#1074) Signed-off-by: Fabian Kammel <[email protected]> Signed-off-by: Fabian Kammel <[email protected]>
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Renovate Best Practices and SLSA-GitHub-Generator | ||
|
||
Renovate helps users to enforce security best practices when continuously upgrading GitHub actions. | ||
|
||
Renovate provides a configuration snippet, which is used by most GitHub projects, to [automatically pin dependencies using the digest](https://docs.renovatebot.com/presets-helpers/#helperspingithubactiondigests) instead of git tags: `helpers:pinGitHubActionDigests`. | ||
|
||
To add an exception to this rule for slsa-github-generator add the following package rule to your `renovate.json` config. | ||
|
||
```json | ||
"packageRules": [ | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"matchPackageNames": ["slsa-framework/slsa-github-generator"], | ||
"pinDigests": false | ||
} | ||
] | ||
``` | ||
|
||
This will enable you to receive upgrades for the generator and keep the tagged version. |