Skip to content

Commit

Permalink
chore: disable pinDigests for slsa-github-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jan 8, 2023
1 parent 07a971b commit 37190c2
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/renovate-config-validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
- main
paths:
- .github/workflows/renovate-config-validator.yaml
- renovate.json
- renovate.json5
push:
branches:
- main
paths:
- .github/workflows/renovate-config-validator.yaml
- renovate.json
- renovate.json5

jobs:
validate:
Expand Down
17 changes: 0 additions & 17 deletions renovate.json

This file was deleted.

29 changes: 29 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"extends": [
"config:base",
"helpers:pinGitHubActionDigests"
],
"automerge": true,
"packageRules": [
{
"postUpdateOptions": ["gomodTidy"],
"matchManagers": ["gomod"]
},
{
"automerge": false,
"matchUpdateTypes": ["major"]
},
{
// slsa-framework/slsa-github-generator doesn't support pinning version
// > Invalid ref: 68bad40844440577b33778c9f29077a3388838e9. Expected ref of the form refs/tags/vX.Y.Z
// https://github.com/slsa-framework/slsa-github-generator/issues/722
matchDepTypes: [
"action",
],
matchPackageNames: [
"slsa-framework/slsa-github-generator",
],
pinDigests: false,
},
]
}

0 comments on commit 37190c2

Please sign in to comment.