Fix external plugin gate manifest paths and diagnostics (#2261)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Aaron Powell
2026-07-10 14:31:25 +10:00
committed by GitHub
parent e03696a5bf
commit bb4766e226
3 changed files with 37 additions and 2 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ function cloneSubmissionRepository(workDir, plugin) {
// NOTE: Keep in sync with EXTERNAL_PLUGIN_ROOT_MANIFEST_PATHS in external-plugin-validation.mjs
const PLUGIN_JSON_CANDIDATES = [
[".github", "plugin", "plugin.json"],
[".plugins", "plugin.json"],
[".plugin", "plugin.json"],
["plugin.json"],
];
+1 -1
View File
@@ -27,7 +27,7 @@ export const EXTERNAL_PLUGIN_POLICIES = Object.freeze({
const EXTERNAL_PLUGIN_ROOT_MANIFEST_PATHS = Object.freeze([
"plugin.json",
".github/plugin/plugin.json",
".plugins/plugin.json",
".plugin/plugin.json",
]);
function resolvePolicy(policy) {