Repository navigation
Retire the merge-green-prs skill; merging is GitHub auto-merge - #19
Merged
Merged
Conversation
The 'Auto merge when complete' checkbox in Claude Code's CI button (GitHub auto-merge, a non-null auto_merge on the PR) now enables the skill per PR. If the flag is off or not visible, the PR is reported and left alone. The skill never toggles it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014k4kywyN5dAo39izUPvxbw
The CI button's 'Auto-merge when ready' checkbox is GitHub's native auto-merge, so the skill only duplicated it. CLAUDE.md now says how merging works and what it needs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014k4kywyN5dAo39izUPvxbw
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.
Summary
Removes the
/merge-green-prsskill. Claude Code's CI button has an "Auto-merge when ready" checkbox, which uses GitHub's native auto-merge, so the skill only duplicated it.Changes
.claude/skills/merge-green-prs/SKILL.md(this PR's first commit had made the skill respect the checkbox; the second retires it).CLAUDE.md: replaces the skill's line with a note on how merging works: tick "Auto-merge when ready"; it needs "Allow auto-merge" in the repo settings andcheckas a required status onmain.Before the checkbox works
Ticking it currently fails with "Auto-merge is not available for this pull request", because Settings → General → Pull Requests → Allow auto-merge is off. Turn that on, and make sure
mainrequires thecheckstatus (otherwise GitHub merges as soon as the PR is mergeable, before the tests finish).Test plan
make checkon Python 3.13.5 (ruff + pytest): 211 passedcheckjob on this PRcheckpasses🤖 Generated with Claude Code
https://claude.ai/code/session_014k4kywyN5dAo39izUPvxbw