Refuse @jekyllbot: merge when Release Please workflow is present on the PR base branch#131
Draft
Copilot wants to merge 3 commits into
Draft
Refuse @jekyllbot: merge when Release Please workflow is present on the PR base branch#131Copilot wants to merge 3 commits into
@jekyllbot: merge when Release Please workflow is present on the PR base branch#131Copilot wants to merge 3 commits into
Conversation
Agent-Logs-Url: https://github.com/jekyll/jekyllbot/sessions/9f367c71-3e5e-44b6-a7b4-bd5121fc09d1 Co-authored-by: parkr <237985+parkr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/jekyll/jekyllbot/sessions/9f367c71-3e5e-44b6-a7b4-bd5121fc09d1 Co-authored-by: parkr <237985+parkr@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Refuse merge comment request when using Release Please
Refuse May 13, 2026
@jekyllbot: merge when Release Please workflow is present on the PR base branch
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.
Jekyll uses Release Please instead of the legacy jekyllbot merge flow, so merge-command comments should not execute in that mode. This update makes merge handling resilient by detecting Release Please on the PR’s base branch and responding with guidance instead of merging.
Release-Please-aware merge gate
MergeAndLabelnow reads PR metadata first and checks for.github/workflows/release-please.ymlonpr.base.ref.PullRequests.Merge.User-facing refusal response
@jekyllbot: mergeis used in a Release Please repo.Targeted implementation additions
hasReleasePleaseWorkflowOnBranch(...)to check workflow-file existence viaRepositories.GetContents.replyWithReleasePleaseMergeRefusal(...)to centralize refusal comment behavior.