Skip to content

Add reusable release-lifecycle workflow#14

Merged
ellulpatrick merged 1 commit intomainfrom
feature/reusable-release-lifecycle
Mar 13, 2026
Merged

Add reusable release-lifecycle workflow#14
ellulpatrick merged 1 commit intomainfrom
feature/reusable-release-lifecycle

Conversation

@ellulpatrick
Copy link
Copy Markdown
Contributor

Summary

  • Adds a shared release-lifecycle.yml reusable workflow (workflow_call) for trunk-based repos
  • Handles: Claude risk assessment, draft release upsert, Slack notification (linked text, permanent URLs, Buildkite links), and post-publish branch cleanup
  • Each repo only needs a thin ~20-line caller — no more copy-pasting the full workflow

Usage

In each repo's .github/workflows/release-lifecycle.yml:

name: Release Lifecycle
on:
  push:
    branches: ['release/**']
  release:
    types: [published]
  workflow_dispatch:
jobs:
  release-lifecycle:
    uses: ordermentum/.github/.github/workflows/release-lifecycle.yml@main
    secrets:
      SLACK_BOT: \${{ secrets.SLACK_BOT }}
      CLAUDE_CODE_OAUTH_TOKEN: \${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}

Test plan

  • Merge this PR
  • Update Documentum to use the thin caller (PR #626)
  • Cut a release branch and verify the full flow works end-to-end

🤖 Generated with Claude Code

Shared workflow triggered via workflow_call. Handles risk assessment,
draft release upsert, Slack notification, and post-publish branch cleanup.
Each repo only needs a thin ~20-line caller workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ellulpatrick ellulpatrick merged commit 4a6eb91 into main Mar 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants