Skip to content

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

JohnDaWalka
Copy link

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 the slsa-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:

    • Tradeoffs: List tradeoffs you made to take on or pay down tech debt.
    • Alternatives: Describe alternative approaches you considered and why you discarded them.
      -->

Closes:

Signed-off-by: JohnDaWalka <201526231+JohnDaWalka@users.noreply.github.com>
@Copilot Copilot AI review requested due to automatic review settings July 27, 2025 13:07
@JohnDaWalka JohnDaWalka requested a review from a team as a code owner July 27, 2025 13:07
Copilot

This comment was marked as outdated.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Copilot Copilot AI review requested due to automatic review settings August 5, 2025 21:43
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot

This comment was marked as outdated.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Copilot Copilot AI review requested due to automatic review settings August 5, 2025 21:47
Copy link
Contributor

@Copilot Copilot AI left a 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
Copy link
Preview

Copilot AI Aug 5, 2025

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.

Suggested change
go-version: 1.22
go-version: 1.17

Copilot uses AI. Check for mistakes.

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.

1 participant