ci: add release pipeline and PR title validation#3
Merged
Conversation
Move docs/TUI_PLAN.md to docs/plans/tui-roadmap.md so all plan documents live in the same directory. Add release pipeline plan. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add version/commit/date variables to main, injected via ldflags at build time. Makefile build target now uses git describe for version. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Enforce that PR titles follow conventional commit format using semantic-pull-request action. Required for changelog generation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
On semver tag push, runs make ci then generates changelog from conventional commits via conventional-changelog and creates a GitHub Release. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add automated release pipeline and PR title enforcement for conventional commits.
.github/workflows/release.yml): triggered onv*tag push, runsmake ci, generates changelog via conventional-changelog, creates GitHub Release.github/workflows/pr-title.yml): enforces conventional commit format on PR titles using semantic-pull-request action--versionflag on the binary, version/commit/date injected via ldflags at build timedocs/TUI_PLAN.mdintodocs/plans/tui-roadmap.mdPurpose
Complete the CI/CD pipeline. The CI PR (#2) added build/test/lint gates. This adds the release half: tag → changelog → GitHub Release. PR title validation ensures conventional commit format flows through squash merges into the changelog.
Tests Performed
make cipasses locally (all checks green)make build && bin/questcore --versionprints version/commit/date correctlyTests Not Performed
CI Checks
make cipasses locallyAI Assisted
Plan:
docs/plans/release-pipeline.md🤖 Generated with Claude Code