Skip to content
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

Fix installer: Add arguments to actions/checkout so that it checks ou… #319

Merged
merged 4 commits into from
Oct 25, 2022

Conversation

kpk47
Copy link
Contributor

@kpk47 kpk47 commented Oct 22, 2022

Fix installer: Check out the correct repo and fix support for pinning by commit SHA.

I didn't add any tests in this PR because trying to test in this repo covered up these bugs in the first place. Instead, I've opened a corresponding PR against slsa-framework/example-package (slsa-framework/example-package#116). The test fails now, but I'm confident it will succeed based on a separate branch that's targeting the branch this PR is based on (https://github.com/kpk47/example-package/pull/1/files -- ignore the workflow failures. They're due to provenance issues with the slsa-verifier versions built in my fork. The installer logic before the provenance verification works.)

…t slsa-framework/slsa-verifier instead of the repo using the Action.

Signed-off-by: kpk47 <kkris@google.com>
actions/installer/action.yml Outdated Show resolved Hide resolved
actions/installer/action.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@laurentsimon laurentsimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, thanks!

@laurentsimon laurentsimon enabled auto-merge (squash) October 25, 2022 10:33
@laurentsimon laurentsimon merged commit 37cf8fd into slsa-framework:main Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants