fix: fix: smoke-init should only run on pull_request events, not push (#21) #22
1 changed files with 15 additions and 7 deletions
|
|
@ -8,13 +8,21 @@
|
||||||
# to run as the 'git' user (pre-created in the Forgejo Docker image).
|
# to run as the 'git' user (pre-created in the Forgejo Docker image).
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
- event: pull_request
|
||||||
path:
|
path:
|
||||||
- "bin/disinto"
|
- "bin/disinto"
|
||||||
- "lib/load-project.sh"
|
- "lib/load-project.sh"
|
||||||
- "tests/smoke-init.sh"
|
- "tests/smoke-init.sh"
|
||||||
- ".woodpecker/smoke-init.yml"
|
- ".woodpecker/smoke-init.yml"
|
||||||
- "docker/**"
|
- "docker/**"
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
|
path:
|
||||||
|
- "bin/disinto"
|
||||||
|
- "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