summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authortobin <tobin@anthropic.com>2026-09-24 03:19:18 +0000
committertobin <tobin@anthropic.com>2026-09-24 03:19:18 +0000
commit346b20eb6e71675b7e447901db6c44d3a5068c1c (patch)
tree1f929992c43ae2cf493c9abdaaa7b82d6bf2d9a8 /.github/workflows
parent08885b13976f732f39bcf8f9e7d11df38e17589d (diff)
Flag unvalidated command sources in scope guard outputtobin/scope-guard-command-sources
Report command-source entries the guard skipped and stop the pass message from claiming every added entry came from a live repo. Remote-Dev: homespace
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/external-pr-scope-guard.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/external-pr-scope-guard.yml b/.github/workflows/external-pr-scope-guard.yml
index 3d67296f..683e178b 100644
--- a/.github/workflows/external-pr-scope-guard.yml
+++ b/.github/workflows/external-pr-scope-guard.yml
@@ -51,4 +51,8 @@ jobs:
);
return;
}
- console.log(`Scope guard passed: adds ${result.added.join(', ') || 'none'}, all from repos already live here.`);
+ const unvalidated = result.unvalidated || [];
+ if (unvalidated.length) {
+ core.warning(`Command-source entries are not repo-validated; review manually: ${unvalidated.join(', ')}`);
+ }
+ console.log(`Scope guard passed: adds ${result.added.join(', ') || 'none'}${unvalidated.length ? '' : ', all from repos already live here'}.`);