diff options
| author | Tobin South <tobin.south@gmail.com> | 2026-11-11 22:01:14 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-12 01:01:14 -0500 |
| commit | 032b1ec0047fa45a6b609ee3ba0dafc214da3432 (patch) | |
| tree | 1f0909c32e70530906ad7f4b4de685c3a5d5c8d3 /.github/scripts/external-pr-scope.js | |
| parent | e37d307bd9f85dab6fea5dfb5e3dc146753b2d2d (diff) | |
CI: validate in-repo plugin folders; point submissions to claude.ai/directory/manage (#7086)
Claude-Session: https://claude.ai/code/session_01Y6KzrBh3DugYtWavUz8Hv4
Co-authored-by: Claude <noreply@anthropic.com>
Diffstat (limited to '.github/scripts/external-pr-scope.js')
| -rw-r--r-- | .github/scripts/external-pr-scope.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/scripts/external-pr-scope.js b/.github/scripts/external-pr-scope.js index cf31e441..95c7aa68 100644 --- a/.github/scripts/external-pr-scope.js +++ b/.github/scripts/external-pr-scope.js @@ -18,6 +18,13 @@ const MARKETPLACE = '.claude-plugin/marketplace.json'; +// Posted on every pull request from outside Anthropic. +const SUBMISSION_NOTICE = [ + 'Thanks for your interest! Plugins are now submitted at **https://claude.ai/directory/manage**. Plugins accepted there are served across Claude products.', + 'The `marketplace.json` in this repository is being phased out: it will be reduced over time to Anthropic\'s own plugins.', + 'Pull requests here are not monitored, so please use the link above to submit or update a plugin.', +].join('\n\n'); + function normalizeRepo(u) { return String(u || '').trim().toLowerCase() .replace(/^git\+/, '') @@ -153,4 +160,4 @@ async function isExemptAuthor({ github, context }) { return { exempt: false }; } -module.exports = { normalizeRepo, liveReposOf, analyze, readPlugins, evaluate, isExemptAuthor, MARKETPLACE }; +module.exports = { normalizeRepo, liveReposOf, analyze, readPlugins, evaluate, isExemptAuthor, MARKETPLACE, SUBMISSION_NOTICE }; |
