summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Thompson <bthompson@anthropic.com>2026-06-25 17:36:38 -0500
committerBryan Thompson <bthompson@anthropic.com>2026-06-25 17:36:38 -0500
commitdb607c59b6bad8ae08a3acce0cb536ef8b231f98 (patch)
tree3093a614afc95c1f27d31726a183e4b485a31fac
parente0b3e4df887983846205cb5f7a3a9479c2213264 (diff)
ci(validate): trigger on .github/policy/** so policy-prompt PRs clear the required checkfix/policy-credential-exfil-scope
A PR touching only .github/policy/** matched none of the validate pull_request paths, so the required 'validate' check never ran via pull_request and sat Expected forever (a workflow_dispatch check run isn't associated with the PR, so it can't satisfy the gate). Mirrors the existing .github/workflows/** carve-out.
-rw-r--r--.github/workflows/validate-plugins.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/validate-plugins.yml b/.github/workflows/validate-plugins.yml
index da9bdf2f..51920c8f 100644
--- a/.github/workflows/validate-plugins.yml
+++ b/.github/workflows/validate-plugins.yml
@@ -14,6 +14,11 @@ on:
# check runs aren't associated with the PR, so they don't satisfy it). Run
# validate on workflow changes too so those PRs can clear the gate in-context.
- '.github/workflows/**'
+ # Same rationale for the scan policy prompt: a policy-only PR (.github/policy/**)
+ # touches none of the plugin paths above, so validate would never trigger via
+ # pull_request and the required check would sit "Expected" forever (a dispatch
+ # check run isn't associated with the PR, so it can't satisfy the gate either).
+ - '.github/policy/**'
push:
branches: [main]
paths: