Skip to content

feat: auto-merge release-please pull requests - #16

Merged
shmileee merged 1 commit into
mainfrom
feat/release-please-auto-merge
Nov 15, 2026
Merged

shmileee merged 1 commit into
mainfrom
feat/release-please-auto-merge

Conversation

@shmileee

Copy link
Copy Markdown
Contributor

Description

Release pull requests (e.g. #11) currently wait for someone to merge them. The main-protection rulesets of the release-please repositories (github-actions, pre-commit-hooks, readme-weaver, renovate-config, terramate-atlantis-config) no longer require an approval, only the green pre-commit / pre-commit check, so they can now merge on their own.

After release-please runs, this enables auto-merge (squash) on every release pull request it created or updated, marking drafts as ready first (readme-weaver opens its release PRs as drafts). GitHub merges it once the required check passes; because the merge is done by the GitHub App, the push to main re-triggers this workflow, which tags and publishes the release.

New input auto_merge (default true) lets a repository opt out.

Definition of Done

  • The change is thoroughly documented.
  • The CI passes (linter, unit tests, spelling, etc.).
  • Any generated files have been updated.

Enable auto-merge (squash) on the pull requests release-please creates or
updates, marking drafts as ready first, so releases go out as soon as the
required checks pass. The merge is done by the GitHub App, so the push to
the default branch re-triggers the workflow, which tags and publishes the
release. Callers can opt out with auto_merge: false.
@shmileee
shmileee enabled auto-merge (squash) November 15, 2026 20:23
@shmileee
shmileee merged commit b2e9c2c into main Nov 15, 2026
1 check passed
@shmileee
shmileee deleted the feat/release-please-auto-merge branch November 15, 2026 20:25
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