Skip to content

ci: publish releases on main without changesets PRs#13

Merged
danbot315 merged 1 commit into
mainfrom
feat/release-no-changeset-pr
Mar 2, 2026
Merged

ci: publish releases on main without changesets PRs#13
danbot315 merged 1 commit into
mainfrom
feat/release-no-changeset-pr

Conversation

@danbot315
Copy link
Copy Markdown
Contributor

Implements direct publish-on-main behavior (no Changesets release PR).

What changed

  • Replaced changesets/action PR flow in release.yml with direct main-branch release flow:
    • detect pending .changeset/*.md
    • run changeset version
    • commit/push version bump back to main
    • publish packages
  • Removed PR-specific permission (pull-requests: write) since we no longer open release PRs.

Behavior

On merge to main, if changesets are present:

  1. versions are bumped
  2. bump commit is pushed to main
  3. publish runs immediately

If no changesets are present, release job exits cleanly.

Validation

  • bun run lint
  • bun run build
  • bun run typecheck
  • bun run test -- packages/core/src/workflow-generator.test.ts packages/core/src/context.test.ts packages/core/src/config.test.ts packages/core/src/plugins/shared-workflow-helper.test.ts

@danbot315 danbot315 requested a review from azweb76 March 2, 2026 05:23
@danbot315 danbot315 merged commit 296b3c1 into main Mar 2, 2026
1 check passed
@danbot315 danbot315 deleted the feat/release-no-changeset-pr branch March 2, 2026 05:24
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