Repository navigation
feat: auto-merge release-please pull requests - #16
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Release pull requests (e.g. #11) currently wait for someone to merge them. The
main-protectionrulesets of the release-please repositories (github-actions, pre-commit-hooks, readme-weaver, renovate-config, terramate-atlantis-config) no longer require an approval, only the greenpre-commit / pre-commitcheck, 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
mainre-triggers this workflow, which tags and publishes the release.New input
auto_merge(defaulttrue) lets a repository opt out.Definition of Done