Add website/** and the website workflow to ci.yaml's paths-ignore, so a push confined to the website subproject (built + published by website.yaml) no longer runs clippy+test. A push that also touches crate code still gates (paths-ignore skips only when all files match).
This commit is contained in:
@@ -13,17 +13,23 @@ on:
|
|||||||
# run (the release workflow owns tags). Pushing commits + a tag together
|
# run (the release workflow owns tags). Pushing commits + a tag together
|
||||||
# still gates the commits via the branch push.
|
# still gates the commits via the branch push.
|
||||||
branches: ['**']
|
branches: ['**']
|
||||||
# Skip the gate for docs-only changes — markdown can't affect clippy/test.
|
# Skip the gate for changes that can't affect clippy/test — docs, markdown,
|
||||||
# A push touching code *and* docs still runs (not all files are ignored).
|
# and the website subproject (it has its own workflow, website.yaml, that
|
||||||
|
# builds + publishes it). A push touching crate code *and* these still runs
|
||||||
|
# (paths-ignore only skips when *all* changed files match).
|
||||||
# Note: flake/toolchain changes are NOT ignored — they can shift the
|
# Note: flake/toolchain changes are NOT ignored — they can shift the
|
||||||
# toolchain and thus lint/test outcomes.
|
# toolchain and thus lint/test outcomes.
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
|
- 'website/**'
|
||||||
|
- '.gitea/workflows/website.yaml'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
|
- 'website/**'
|
||||||
|
- '.gitea/workflows/website.yaml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gate:
|
gate:
|
||||||
|
|||||||
Reference in New Issue
Block a user