-
Notifications
You must be signed in to change notification settings - Fork 2k
Create go-ossf-slsa3-publish.yml #768
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: JohnDaWalka <201526231+JohnDaWalka@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new GitHub Actions workflow for building Go projects with SLSA Level 3 compliance to enhance supply chain security. The workflow generates provenance files that document the build process, leveraging the OpenSSF slsa-framework/slsa-github-generator.
- Adds SLSA3-compliant build workflow for Go projects
- Configures automatic triggering on releases and manual dispatch
- Sets up proper permissions for signing and uploading artifacts
actions: read # To read workflow path. | ||
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v1.8.0 | ||
with: | ||
go-version: 1.22 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Go version 1.22 specified here conflicts with the Go version 1.17 mentioned in the PR description. Consider verifying which version is intended and updating either the workflow or the description for consistency.
go-version: 1.22 | |
go-version: 1.17 |
Copilot uses AI. Check for mistakes.
This pull request introduces a new GitHub Actions workflow for building Go projects using a SLSA3-compliant builder. The workflow is designed to enhance supply chain security by generating a provenance file that describes the steps taken to produce the final binary.
New GitHub Actions Workflow:
.github/workflows/go-ossf-slsa3-publish.yml
: Added a workflow named "SLSA Go releaser" to compile Go projects with a SLSA3-compliant builder. This includes generating a provenance file for enhanced supply chain security, leveraging the OpenSSF initiative. The workflow uses theslsa-framework/slsa-github-generator
and supports Go version 1.17.<!--Thank you for contributing to GitHub MCP Server!
Please reference an existing issue:
Closes #NUMBER
Screenshots or videos of changed behavior is incredibly helpful and always appreciated.
Consider addressing the following:
-->
Closes: