fix: fix: smoke-init should only run on pull_request events, not push (#21)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
55406b1e3d
commit
79ae7f8690
1 changed files with 15 additions and 7 deletions
|
|
@ -8,7 +8,15 @@
|
|||
# to run as the 'git' user (pre-created in the Forgejo Docker image).
|
||||
|
||||
when:
|
||||
event: [push, pull_request]
|
||||
- event: pull_request
|
||||
path:
|
||||
- "bin/disinto"
|
||||
- "lib/load-project.sh"
|
||||
- "tests/smoke-init.sh"
|
||||
- ".woodpecker/smoke-init.yml"
|
||||
- "docker/**"
|
||||
- event: push
|
||||
branch: main
|
||||
path:
|
||||
- "bin/disinto"
|
||||
- "lib/load-project.sh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue