Skip to content

feat: publish in one run when the default branch accepts the push - #11

Closed
dilettacal wants to merge 1 commit into
mainfrom
feat/direct-release
Closed

dilettacal wants to merge 1 commit into
mainfrom
feat/direct-release

Conversation

@dilettacal

Copy link
Copy Markdown
Owner

Problem

  • Consumers without branch protection still needed: dispatch → merge release PR → dispatch again
  • Release PR needs "Allow GitHub Actions to create PRs" enabled

Change

  • After the release commit, try git push to the default branch
    • accepted → tag + GitHub Release in the same run
    • rejected (protection) → existing release-PR flow, unchanged
  • README + CHANGELOG updated

🤖 Generated with Claude Code

Push the release commit straight to the default branch and tag in the
same run; fall back to a release PR only when protection rejects it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dilettacal

Copy link
Copy Markdown
Owner Author

Declined: bot pushing straight to the default branch bypasses review.

@dilettacal dilettacal closed this Oct 31, 2026
@dilettacal
dilettacal deleted the feat/direct-release branch October 31, 2026 15:11
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