release-please-pr-workflow
БесплатноБез исполняемых скриптовНе проверенMerging release-please release PRs — batch merge, conflict resolution by closing and recreating the PR. Use when release PRs pile up or a release PR conflicts.
от laurigates★ 61 звезда на GitHubОб этом скилле
Release-Please PR Workflow
When to Use This Skill
| Use this skill when... | Use the alternative when... |
|---|---|
| Iteratively merging multiple release-please PRs in a monorepo | Use release-please-configuration to fix the upstream config that produced them |
| Resolving conflicts between sibling release PRs by closure/recreation | Use git-conflicts for ordinary feature-PR merge conflicts |
Coordinating sequential merges when separate-pull-requests: true |
Use git-fix-pr if individual release PRs have failing CI checks |
| Reducing the open release PR queue after a burst of releasable commits | Use release-please-protection to detect manual edits to changelog/version files |
Expert knowledge for managing release-please PRs in monorepos, including batch merging, conflict handling, and iterative processing.
Core Workflow
Release-please creates separate PRs per component in monorepos (when separate-pull-requests: true). These PRs often need sequential merging due to shared manifest file updates.
Iterative Merge Process
- List pending PRs with status
- Merge clean PRs (MERGEABLE status)
- Handle conflicting PRs (close for recreation)
- Wait for recreation and repeat
- Verify completion when no PRs remain
Essential Commands
List Release PRs
# List all pending release PRs
gh pr list --label "autorelease: pending"
# With merge status details
gh pr list --label "autorelease: pending" --json number,title,mergeable,mergeStateStatus
# Check specific PR status
gh pr view <number> --json title,mergeable,mergeStateStatus
Check PR Mergeability
| Status | Meaning | Action |
|---|---|---|
CLEAN / MERGEABLE |
Ready to merge | Merge immediately |
UNKNOWN |
GitHub computing | Wait 5-10 seconds, retry |
DIRTY / CONFLICTING |
Has conflicts | Close and wait for recreation |
Merge PRs
Release PRs always squash-merge, whatever the house default for feature PRs
(rebase unless there is a reason to squash). release-please documents squash
and merge commits for release PRs and does not list rebase; the PR carries one
bot commit, and rule 2 of the merge-method decision rule picks squash for a
release-please--* head branch (github-pr-title →
merge-strategies.md).
# Merge single PR
gh pr merge <number> --squash
# Merge multiple clean PRs sequentially
gh pr merge 55 --squash && gh pr merge 56 --squash
# Check result
gh pr list --label "autorelease: pending"
Handle Conflicts
# Close conflicting PRs with explanation
gh pr close <number> --comment "Closing due to conflicts from merged PRs. Release-please will recreate."
# Trigger workflow (if workflow_dispatch enabled)
gh workflow run release-please.yml
# Otherwise wait for the next push
Conflict Resolution Strategy
Why Conflicts Occur
Release-please PRs modify .release-please-manifest.json which tracks all component versions. When one PR merges:
- The manifest changes
- Other PRs become out of date
- GitHub marks them as conflicting
A PR left CONFLICTING by a chore:/docs:/ci: commit is not updated by the next run: close it and re-run (references/stuck-conflicting.md).
Resolution Flow
1. Identify conflicting PRs
↓
2. Close conflicting PRs with comment
↓
3. Wait for release-please to recreate PRs
(triggered by next push or workflow run)
↓
4. New PRs appear with updated base
↓
5. Merge clean PRs, repeat if needed
Typical Iteration Pattern
# Round 1: Initial merge
gh pr list --label "autorelease: pending" --json number,mergeable,mergeStateStatus
# Merge CLEAN ones, note CONFLICTING ones
# Round 2: Close conflicts
gh pr close 45 --comment "Closing for recreation"
gh pr close 46 --comment "Closing for recreation"
# Wait for recreation (~5-10 s)
sleep 5
# Round 3: Check new PRs
gh pr list --label "autorelease: pending" --json number,mergeable,mergeStateStatus
# New PR numbers will appear, merge them
# Repeat until no pending PRs
Complete Merge Workflow
Full Automation Script Pattern
# 1. Initial status check
gh pr list --label "autorelease: pending" --json number,title,mergeable,mergeStateStatus
# 2. Wait for GitHub to compute status if UNKNOWN
sleep 5
gh pr list --label "autorelease: pending" --json number,title,mergeable,mergeStateStatus
# 3. Merge clean PRs
for pr in $(gh pr list --label "autorelease: pending" --json number,mergeStateStatus \
-q '.[] | select(.mergeStateStatus=="CLEAN") | .number'); do
gh pr merge $pr --squash
done
# 4. Close conflicting PRs
for pr in $(gh pr list --label "autorelease: pending" --json number,mergeStateStatus \
-q '.[] | select(.mergeStateStatus=="DIRTY") | .number'); do
gh pr close $pr --comment "Closing for recreation after conflicts"
done
# 5. Wait and repeat until done
sleep 10
gh pr list --label "autorelease: pending
Установить release-please-pr-workflow в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(gh pr *)ReadTodoWriteВложенные файлы
FAQ
Что делает скилл release-please-pr-workflow?
Merging release-please release PRs — batch merge, conflict resolution by closing and recreating the PR. Use when release PRs pile up or a release PR conflicts.
Как установить скилл release-please-pr-workflow?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release-please-pr-workflow запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic