Skip to content

feat: harden checkout #795

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

Merged
merged 3 commits into from
Sep 6, 2022

Conversation

laurentsimon
Copy link
Collaborator

@@ -55,6 +56,9 @@ runs:
repository: "${{ inputs.repository }}"
token: "${{ inputs.token }}"

- name: Verify checkout
uses: slsa-framework/slsa-github-generator/.github/actions/verify-checkout@main
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Once this is merged, I will update this code to a hash pin instead of "@main"

@laurentsimon
Copy link
Collaborator Author

@naveensrinivasan any idea why the compute-sha256 needed to be re-compiled?

@laurentsimon laurentsimon enabled auto-merge (squash) September 6, 2022 17:14
@laurentsimon laurentsimon merged commit 96a2f25 into slsa-framework:main Sep 6, 2022
@ianlewis
Copy link
Member

ianlewis commented Sep 7, 2022

@naveensrinivasan any idea why the compute-sha256 needed to be re-compiled?

That's my fault. That check was failing but #646 got auto-merged because the check isn't a required check on the protected branch. The fix is tracked on #793

@laurentsimon
Copy link
Collaborator Author

no problem. I understand. ncc got updated and that's why it failed. Thanks

@ianlewis
Copy link
Member

ianlewis commented Sep 7, 2022

I added the check-dist as a required check so auto-submits won't work if it fails.

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.

3 participants