mirror of
https://github.com/anthropics/claude-plugins-official.git
synced 2026-07-11 19:57:21 -03:00
ci(validate): trigger on .github/policy/** so policy-prompt PRs clear the required check
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.
This commit is contained in:
parent
e0b3e4df88
commit
db607c59b6
5
.github/workflows/validate-plugins.yml
vendored
5
.github/workflows/validate-plugins.yml
vendored
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user