Skip to content

Commit

Permalink
ci: stop slsa-github-generator pinning because slsa-github-generator …
Browse files Browse the repository at this point in the history
…doesn't support pinning

> Invalid ref: 68bad40844440577b33778c9f29077a3388838e9. Expected ref of the form refs/tags/vX.Y.Z
  • Loading branch information
suzuki-shunsuke committed Jan 5, 2023
1 parent 927b2ec commit 0f8178d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ jobs:
actions: read # Needed for detection of GitHub Actions environment.
id-token: write # Needed for provenance signing and ID
contents: write # Needed for release uploads
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@68bad40844440577b33778c9f29077a3388838e9 # v1.4.0
# slsa-framework/slsa-github-generator doesn't support pinning version
# > Invalid ref: 68bad40844440577b33778c9f29077a3388838e9. Expected ref of the form refs/tags/vX.Y.Z
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.4.0
with:
base64-subjects: "${{ needs.build.outputs.hashes }}"
# Upload provenance to a new release
Expand Down
17 changes: 17 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@
"github>aquaproj/aqua-renovate-config:file#1.5.0(aqua/.*\\.ya?ml)",
],
ignorePaths: [],
packageRules: [
{
matchUpdateTypes: ["digest"],
enabled: false,
},
{
// slsa-framework/slsa-github-generator doesn't support pinning version
// > Invalid ref: 68bad40844440577b33778c9f29077a3388838e9. Expected ref of the form refs/tags/vX.Y.Z
matchDepTypes: [
"action",
],
matchPackageNames: [
"slsa-framework/slsa-github-generator",
],
pinDigests: false,
}
]
regexManagers: [
{
fileMatch: [".*\\.go"],
Expand Down

0 comments on commit 0f8178d

Please sign in to comment.