summaryrefslogtreecommitdiff
path: root/.github/scripts
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-11-06 00:54:48 +0000
committerClaude <noreply@anthropic.com>2026-11-06 00:54:48 +0000
commit7aba3deae3ff17d032c37e07d2929d1426b34278 (patch)
tree9c482f9acda1599bd2f9bed95a6a46b75e634e80 /.github/scripts
parent5472f5f56e0070feeeb464318b316714fe3e9105 (diff)
parentb8331dd69ab3e132bbf8cd6e89b5d8c1747e21b1 (diff)
Merge remote-tracking branch 'origin/main' into add-plugin/xcodeadd-plugin/xcode
Diffstat (limited to '.github/scripts')
-rw-r--r--.github/scripts/external-pr-scope.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/scripts/external-pr-scope.js b/.github/scripts/external-pr-scope.js
index 705a18a3..cf31e441 100644
--- a/.github/scripts/external-pr-scope.js
+++ b/.github/scripts/external-pr-scope.js
@@ -69,7 +69,10 @@ function analyze({ changedFiles, before, after, liveRepos }) {
problems.push('makes no in-scope change (expected additions to marketplace.json)');
}
+ const unvalidated = [];
for (const name of added) {
+ // Command sources have no repo URL to validate; report them so a reviewer checks them by hand.
+ if (after[name] && after[name].source && after[name].source.source === 'command') { unvalidated.push(name); continue; }
const u = after[name] && after[name].source && after[name].source.url;
if (!u) { problems.push(`added "${name}" has no source.url to validate`); continue; }
const r = normalizeRepo(u);
@@ -79,7 +82,7 @@ function analyze({ changedFiles, before, after, liveRepos }) {
}
}
- return { ok: problems.length === 0, problems, added, removed, modified, liveRepoCount: liveRepos.size };
+ return { ok: problems.length === 0, problems, added, removed, modified, unvalidated, liveRepoCount: liveRepos.size };
}
async function readPlugins(github, owner, repo, ref) {