Skip to content

fix(ci): require manual dispatch to prepare a release - #208

Merged
Studnicky merged 1 commit into
developfrom
ci/no-auto-release-on-develop
Oct 10, 2026
Merged

Studnicky merged 1 commit into
developfrom
ci/no-auto-release-on-develop

Conversation

@Studnicky

Copy link
Copy Markdown
Owner

What

Removes the automatic develop-merge-triggers-a-release-PR behavior from the Release workflow.

  • c339b77 fix(ci): require manual dispatch to prepare a release

Files: ~1

Why

The Release workflow auto-opened a release/vX.Y.Z PR against main whenever CI succeeded on develop and a pending changeset existed — treating every green develop merge as an implicit release decision. Releasing is now a deliberate action: workflow_dispatch on the Release workflow. Tagging a merged release PR on main stays automatic, since that step follows an explicit human merge rather than a develop push.

Testing

  • Unit tests added/updated
  • Manual testing completed

Verified: an in-flight Release run queued under the old trigger (develop CI completion) was cancelled before it opened a release PR; workflow_run no longer lists develop in its branches filter; plan's detect script now branches on github.event_name == 'workflow_dispatch' for the prepare path and only handles main for the tag path.

Risks

Low — workflow-only change, no application code touched. A release can no longer be prepared by pushing to develop; it requires gh workflow run release.yml (or the Actions UI "Run workflow" button) from a repo maintainer.

Links

Linear Figma Issues
— — —

Checklist

  • Conventions followed - [x] Self-reviewed - [ ] Docs updated - [ ] Tests pass

An automation that releases on your behalf every time you merge is a standing debit order on your changelog — this cancels it and puts a signature back on the withdrawal.

🤖 Generated with Claude Code

https://claude.ai/code/session_014oGzg7BoLAKHRuVjbS8uuC

The Release workflow auto-opened a release/vX.Y.Z PR against main
whenever CI succeeded on develop and a pending changeset existed,
treating every green develop merge as an implicit release decision.

workflow_run no longer listens on develop. Preparing a release is
now a workflow_dispatch action a human triggers explicitly; the
develop-side checks (changeset present, no open release PR, develop
contains main's history) run inside that dispatch instead of inside
an automatic CI-completion handler. Tagging a merged release PR on
main stays automatic — that step follows an explicit human merge,
not a develop push.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014oGzg7BoLAKHRuVjbS8uuC
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Blast Radius

Base ref: origin/develop

Touched packages: none

Impacted packages: none

Package test signal: none

flowchart LR
p_No_package_changes_detected["No package changes detected"]
Loading

@Studnicky
Studnicky merged commit 5c83769 into develop Oct 10, 2026
42 checks passed
@Studnicky
Studnicky deleted the ci/no-auto-release-on-develop branch October 10, 2026 00:08
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