Skip to content

[codex] harden release workflow automation#134

Merged
lbliii merged 1 commit into
mainfrom
codex/release-workflow-automation
May 30, 2026
Merged

[codex] harden release workflow automation#134
lbliii merged 1 commit into
mainfrom
codex/release-workflow-automation

Conversation

@lbliii
Copy link
Copy Markdown
Owner

@lbliii lbliii commented May 30, 2026

Summary

Harden Kida's release automation based on the 0.10.0 release run.

  • keep release-created Release Notes runs from overwriting curated GitHub release notes
  • limit changelog regeneration/commit behavior to explicit manual workflow_dispatch
  • push manual changelog updates to an explicit target branch instead of relying on detached checkout state
  • make make gh-release fail loudly for dirty worktrees, wrong HEAD, existing releases, and mismatched remote tags
  • document the release automation gate and post-release verification checklist

Why

During 0.10.0, the package publish workflow succeeded, but the release-notes workflow failed after trying to commit changelog updates from a detached release checkout. The generated notes also overwrote the curated GitHub release body. This keeps release events useful for dogfooding/reporting while preserving the human-authored release notes as the published contract.

Steward Notes

  • Consulted root AGENTS.md, .github/AGENTS.md, and docs/AGENTS.md.
  • Release/publish behavior is intentionally touched and documented.
  • Permissions are not expanded.
  • No schema, package, runtime, or public API behavior changes.

Validation

  • YAML parse check: ruby -e 'require "yaml"; YAML.load_file(".github/workflows/release-notes.yml"); puts "yaml ok"'
  • Extracted gh-release recipe shell syntax: bash -n /private/tmp/kida-gh-release-check.sh
  • git diff --check
  • pre-commit hook check yaml passed during commit

@lbliii lbliii marked this pull request as ready for review May 30, 2026 14:14
Copilot AI review requested due to automatic review settings May 30, 2026 14:14
@lbliii lbliii merged commit 622cbb1 into main May 30, 2026
10 checks passed
@lbliii lbliii deleted the codex/release-workflow-automation branch May 30, 2026 14:14
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