ci: add CI health gate to release tagging and skip CI for release PRs#4198
ci: add CI health gate to release tagging and skip CI for release PRs#4198zackverham wants to merge 1 commit into
Conversation
The tag-on-release-merge workflow now verifies that the last main.yaml run succeeded before creating a release tag. This replaces the manual "wait for main.yaml to complete" step in the release process. Release PRs (which only bump versions and update changelogs) now skip full CI via a testable Python script that validates package.json diffs contain only version field changes. Closes #4188 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Claude finished @zackverham's task in 1m 23s —— View job Code Review Complete
SummaryThis PR makes two valuable improvements to the CI/release process:
Overall, this is a well-structured PR with good test coverage. The extraction of shell logic into a testable Python script is a solid engineering choice. Review FindingsStrengths
Suggestions1. Empty diff edge case in
|
Summary
tag-on-release-merge.yamlthat verifies the lastmain.yamlrun succeeded before creating a release tag. This replaces the manual "wait for main.yaml to complete" step in the release process.detect-changeslogic frompull-request.yamlinto a testable Python script (scripts/detect-code-changes.py). On release branches, package.json changes are validated to contain only version bumps — if they do, full CI is skipped.CONTRIBUTING.mdto reflect the automated gate.Test plan
just test-scriptspasses (includes 23 new unit tests for the detection logic)Closes #4188
🤖 Generated with Claude Code