You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ci): auto-open marketplace bump PR after plugin sync
Closes the last automatable mile of the Claude Code plugin channel.
`claude plugin install axme-code@claude-community` installs the SHA
pinned in anthropics/claude-plugins-community, not our plugin repo
HEAD — and through April-June 2026 that pin silently stayed at v0.2.9
because bumping it was a manual PR no process owned.
New open-marketplace-pr job (needs: sync-plugin-repo):
- reads the fresh AxmeAI/axme-code-plugin HEAD and the currently
pinned SHA from upstream marketplace.json; no-ops when equal
- branches off UPSTREAM main in the AxmeAI fork (one-line diff
regardless of fork staleness), replaces the SHA with a
count==1 + JSON-parse assertion, force-pushes the standing
`bump-axme-code` branch
- updates any open bump PR in place, else creates one — consecutive
releases never stack duplicate PRs
The Anthropic maintainers' review/merge stays manual by design (their
supply-chain gate). release.sh postflight still verifies the pin, so a
stalled upstream PR is loudly visible at the next release.
Token note: uses MARKETPLACE_PR_TOKEN if set, else PLUGIN_REPO_TOKEN.
Creating PRs on a foreign public repo requires a classic PAT scope
(public_repo); if PLUGIN_REPO_TOKEN is fine-grained to the plugin repo
only, add MARKETPLACE_PR_TOKEN.
YAML validated; embedded script passes bash -n.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
--body "$(printf 'Bumps the pinned SHA for **axme-code** to the v%s sync commit ([`%s`](https://github.com/AxmeAI/axme-code-plugin/commit/%s)) of AxmeAI/axme-code-plugin.\n\nOne-line diff — only the existing entry'"'"'s `source.sha` changes. Opened automatically by the axme-code release workflow; maintained by the AxmeAI org (plugin author).' "$version" "${new_sha:0:7}" "$new_sha")"
0 commit comments