diff options
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 }; |
