-
Notifications
You must be signed in to change notification settings - Fork 168
Open
Labels
status:triageIssue that has not been triagedIssue that has not been triagedtype:bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using this action based on a git sha instead of tag (as recommended by the ossf scorecard guidelines), this action fails with slsa-generator-generic-linux-amd64: No such file or directory
I found that this is caused by this builer-fetch.sh script :
| echo "Invalid ref: $BUILDER_REF. Expected ref of the form refs/tags/vX.Y.Z" |
To Reproduce
Steps to reproduce the behavior:
- Create an action using the SHA:
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@f7dd8c54c2067bafc12ca7a55595d5ee9b75204a # v2.1.0
Expected behavior
Using the sha that represents a tag should wield the same result.
Is this failure intended ?
Thnaks.
bdemers
Metadata
Metadata
Assignees
Labels
status:triageIssue that has not been triagedIssue that has not been triagedtype:bugSomething isn't workingSomething isn't working