summaryrefslogtreecommitdiff
path: root/.github/scripts/external-pr-scope.js
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-11-12 04:09:25 +0000
committerClaude <noreply@anthropic.com>2026-11-12 05:53:40 +0000
commit1b650f9f1f3c333c2322ba0d0bd10a0df39c94b0 (patch)
tree1f0909c32e70530906ad7f4b4de685c3a5d5c8d3 /.github/scripts/external-pr-scope.js
parente37d307bd9f85dab6fea5dfb5e3dc146753b2d2d (diff)
CI: validate in-repo plugin folders; point submissions to claude.ai/directory/manageclaude/project-thread-eh90kw
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y6KzrBh3DugYtWavUz8Hv4
Diffstat (limited to '.github/scripts/external-pr-scope.js')
-rw-r--r--.github/scripts/external-pr-scope.js9
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 };