Skip to content

Harden GitHub release workflow - #4

Merged
1337lean merged 1 commit into
mainfrom
agent/harden-github-release
Aug 7, 2026
Merged

Harden GitHub release workflow#4
1337lean merged 1 commit into
mainfrom
agent/harden-github-release

Conversation

@1337lean

@1337lean 1337lean commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a SHA-pinned CodeQL workflow for Go
  • split release verification, attestation, and publication into least-privilege jobs
  • bind the remote tag and protected-main ancestry before publication
  • hash and reverify the exact artifact handoff between jobs
  • update provenance action pinning and complete third-party binary notices

Why

The published v0.1.1 implementation and artifacts are sound, but the next release path needed stronger job isolation, verified handoff integrity, and CodeQL coverage before branch protection is finalized.

Validation

  • go test -race ./...
  • go vet ./...
  • Staticcheck v0.7.0
  • govulncheck v1.6.0: no reachable vulnerabilities
  • actionlint v1.7.12
  • GoReleaser v2.17.0 check
  • fresh six-target snapshot and release verifier

GitHub follow-up

After the new CodeQL check succeeds, protect main, require the current CI and CodeQL contexts, and enable private vulnerability reporting.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@1337lean
1337lean marked this pull request as ready for review August 7, 2026 04:55
@1337lean
1337lean merged commit 93d0a29 into main Aug 7, 2026
12 checks passed
@1337lean
1337lean deleted the agent/harden-github-release branch August 7, 2026 04:55
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