-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Pinning slsa-github-generator to a commit doesn't work #722
Labels
Comments
sethmlarson
added
status:triage
Issue that has not been triaged
type:bug
Something isn't working
labels
Aug 19, 2022
This is by "design" (see slsa-framework/slsa-verifier#12). We want to support it but we need GH support to add branch information within the OIDC token. So this is on our radar. Thanks for the reminder! Fyi @josepalafox |
ianlewis
added
area:generic
Issue with the generic generator
and removed
status:triage
Issue that has not been triaged
labels
Aug 30, 2022
suzuki-shunsuke
added a commit
to aquaproj/example-go-slsa-provenance
that referenced
this issue
Jan 5, 2023
suzuki-shunsuke
added a commit
to aquaproj/registry-tool
that referenced
this issue
Jan 6, 2023
suzuki-shunsuke
added a commit
to aquaproj/registry-tool
that referenced
this issue
Jan 6, 2023
andros21
added a commit
to andros21/rustracer
that referenced
this issue
Dec 31, 2023
using latest tag instead see https://github.com/andros21/rustracer/actions/runs/7370799248/job/20057532474 During provenance/generator is visible something like ```console [...] Fetching the builder with ref: 07e64b653f10a80b6510f4568f685f8b7b9ea830 Invalid ref: 07e64b653f10a80b6510f4568f685f8b7b9ea830. Expected ref of the form refs/tags/vX.Y.Z [...] ``` see slsa-framework/slsa-github-generator#722
andros21
added a commit
to andros21/rustracer
that referenced
this issue
Dec 31, 2023
using latest tag instead see https://github.com/andros21/rustracer/actions/runs/7370799248/job/20057532474 During provenance/generator is visible something like ```console [...] Fetching the builder with ref: 07e64b653f10a80b6510f4568f685f8b7b9ea830 Invalid ref: 07e64b653f10a80b6510f4568f685f8b7b9ea830. Expected ref of the form refs/tags/vX.Y.Z [...] ``` see slsa-framework/slsa-github-generator#722
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
When the reusable workflow
generator_generic_slsa3.yml
is pinned to a commit (as is recommended by Scorecard) it fails with the following message:See: https://github.com/sethmlarson/python-slsa-release-test/runs/7911558087?check_suite_focus=true
To Reproduce
slsa-github-generator
workflow to a commit.Expected behavior
Pinning workflow to a commit instead of a tag works as expected.
Additional context
Related and unfortunately in direct contention with: ossf/scorecard#2174
The text was updated successfully, but these errors were encountered: