CI always starts and reports one CI passed check a ruleset can require; a prose-only change skips the jobs inside the run instead of skipping the run
A path filter on the trigger meant a docs-only pull request never got the checks a ruleset would require, so it could never merge. scripts/ci-changes.py decides from the diff whether the jobs have work, and CI passed sums them up, since a skipped matrix job reports under no name a ruleset can hold. The old filter also skipped crates/luxe-cli/guide.md, which the CLI compiles in, and docs/guide/, which the suite checks against the code; both now run the jobs.
This commit is contained in:
3
.github/workflows/site.yml
vendored
3
.github/workflows/site.yml
vendored
@@ -10,8 +10,7 @@ on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [main]
|
||||
# The site reads `docs/guide/` for the manual, which CI's prose filter skips, so a guide-only
|
||||
# change still has to reach here
|
||||
# The site reads `docs/guide/` for the manual, so a guide-only change has to reach here
|
||||
paths:
|
||||
- "web/**"
|
||||
- "docs/guide/**"
|
||||
|
||||
Reference in New Issue
Block a user