Skip to content

ci: add reusable prepare-release workflow#57

Merged
ctron merged 2 commits into
guacsec:mainfrom
ctron:ci/add_prepare_release_workflow_1
Jul 14, 2026
Merged

ci: add reusable prepare-release workflow#57
ctron merged 2 commits into
guacsec:mainfrom
ctron:ci/add_prepare_release_workflow_1

Conversation

@ctron

@ctron ctron commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a reusable workflow_call workflow for automated release preparation
  • Handles: version bump via cargo-release, cargo update, schema/OpenAPI regeneration, branch/commit/push, and PR creation
  • Validates release branch constraints (no minor bumps, no major.minor version changes via override)
  • Fixes major-version guard: compares major.minor prefix instead of just minor component
  • Adds --no-confirm to cargo release version to avoid blocking on interactive prompt

Test plan

  • Merge this first, then merge the corresponding trustify caller PRs
  • Trigger workflow via workflow_dispatch on a release branch with bump: patch
  • Verify PR is created with correct version bump

🤖 Generated with Claude Code

ctron and others added 2 commits July 14, 2026 11:19
Reusable workflow_call workflow that automates release preparation:
version bump, dependency update, schema/OpenAPI regeneration, and PR creation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Assisted-by: Claude Code
…rompt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Assisted-by: Claude Code
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