Skip to content

Commit

Permalink
ci: stop pinning slsa-github-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jan 6, 2023
1 parent 2404055 commit 217d855
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ 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
# https://github.com/slsa-framework/slsa-github-generator/issues/722
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
14 changes: 14 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,18 @@
prHourlyLimit: 0,
prConcurrentLimit: 0,
branchConcurrentLimit: 0,
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
// https://github.com/slsa-framework/slsa-github-generator/issues/722
matchDepTypes: ["action"],
matchPackageNames: ["slsa-framework/slsa-github-generator"],
pinDigests: false,
},
],
}

0 comments on commit 217d855

Please sign in to comment.