Skip to content

fix(release): pass draft notes to read-only build jobs - #27

Merged
looechao merged 1 commit into
mainfrom
codex/release-notes-artifact
Nov 8, 2026
Merged

looechao merged 1 commit into
mainfrom
codex/release-notes-artifact

Conversation

@looechao

@looechao looechao commented Nov 8, 2026

Copy link
Copy Markdown
Owner

The v0.3.0 release failed before compilation because all three build jobs tried to read a draft release with read-only tokens. Generate CHANGELOG.md in the release-notes job, which already has write permission, and pass it to the builds as an artifact. Download only build artifacts for the final asset upload.

Add a manual recovery entry point that checks out an existing tag using the current workflow, reuses its draft notes, validates the manifest version, and refuses to upload to a published release. This recovers v0.3.0 without moving its tag. Document the recovery command.

Validation: actionlint, git diff --check, gofmt, go vet ./..., go test -race ./... (cached), and ./scripts/build.sh passed. The original failure is recorded in release run 42466587637; the recovered run will validate the artifact handoff end to end.

@looechao
looechao merged commit a186f30 into main Nov 8, 2026
1 check passed
@looechao
looechao deleted the codex/release-notes-artifact branch November 11, 2026 05: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.

1 participant