ci: run agent-smoke only on PRs, not push events
Push events test the raw branch which may be behind main. PR events test the merge result, which is what matters. This eliminates false CI failures that block the dev-agent.
This commit is contained in:
parent
4251f9fb0e
commit
4ce448b4c0
1 changed files with 2 additions and 0 deletions
|
|
@ -16,6 +16,8 @@ steps:
|
||||||
|
|
||||||
- name: agent-smoke
|
- name: agent-smoke
|
||||||
image: alpine:3
|
image: alpine:3
|
||||||
|
when:
|
||||||
|
event: pull_request
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache bash
|
- apk add --no-cache bash
|
||||||
- bash .woodpecker/agent-smoke.sh
|
- bash .woodpecker/agent-smoke.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue