fix: scope smoke-init CI to init-related paths only (#8)
Skip the heavyweight smoke-init test (spins up full Forgejo inside CI) for PRs that do not touch init-related code. Saves ~25min of CPU per unrelated PR. Closes #8 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
481f9fc53a
commit
10aabf7820
1 changed files with 7 additions and 0 deletions
|
|
@ -9,6 +9,13 @@
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request]
|
||||||
|
path:
|
||||||
|
- "bin/disinto"
|
||||||
|
- "lib/env.sh"
|
||||||
|
- "lib/load-project.sh"
|
||||||
|
- "tests/smoke-init.sh"
|
||||||
|
- ".woodpecker/smoke-init.yml"
|
||||||
|
- "docker/**"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: smoke-init
|
- name: smoke-init
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue