Skip to content

ci: decouple release-please and publish workflows - #36

Merged
adrijshikhar merged 1 commit into
mainfrom
ci/decouple-release-workflows
Sep 23, 2026
Merged

adrijshikhar merged 1 commit into
mainfrom
ci/decouple-release-workflows

Conversation

@adrijshikhar

Copy link
Copy Markdown
Owner

Description

Separates the combined release workflow into two independent workflows:

  1. .github/workflows/release-please.yml: Runs only on push: branches: [main], executes release-please to open/update release PRs and tag releases when PRs are merged. Scoped to concurrency release-please-${{ github.ref }}. It never halts or pauses for environment review, ensuring releases and PR merges on main are never blocked.
  2. .github/workflows/publish.yml: Runs only on push: tags: ['v*.*.*'] (or workflow_dispatch), runs pre-release test verification (make ui, go test -race ./..., web tests), builds with GoReleaser, verifies release tarballs and CLI version probe, and handles gated Homebrew tap & Docker distribution under environment: release. Scoped to concurrency publish-${{ github.ref }}.

Motivation & Fix

Previously, release.yml had top-level concurrency group: release-${{ github.ref }} with cancel-in-progress: false. When a release was cut and reached publish-homebrew / publish-docker (which requires manual approval under environment: release), GitHub Actions held the lock on main indefinitely until approved or timed out. Any subsequent PR merged to main queued behind this lock, completely blocking Release Please from opening/updating patch PRs.

Separating into two workflows eliminates this deadlock entirely.

Verification

  • Validated YAML syntax with Ruby YAML parser
  • Ran go test -race ./... (335 passed across 22 packages)

Copilot AI lite review requested due to automatic review settings September 23, 2026 15:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@adrijshikhar
adrijshikhar merged commit 839c6fc into main Sep 23, 2026
5 checks passed
@adrijshikhar
adrijshikhar deleted the ci/decouple-release-workflows branch September 23, 2026 16:46
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.

2 participants