summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorTobin South <tobin.south@gmail.com>2026-09-28 06:14:38 -0700
committerGitHub <noreply@github.com>2026-09-28 06:14:38 -0700
commitfbe07fb6ce7d51d8e86ca6efdf050059894cdb80 (patch)
treec30a3af14604a746423761977219f5fe0d9e65dc /.github/workflows
parentfa59bc9037741ecfa131aa27938272605710d7b2 (diff)
Exempt command sources from scope guard source.url check (#6296)
* Exempt command sources from scope guard source.url check Command sources have no repo URL to validate, so the guard no longer fails a non-member PR that adds one. Remote-Dev: homespace * Flag unvalidated command sources in scope guard output 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'}.`);