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:
openhands 2026-03-27 06:55:26 +00:00
parent 4251f9fb0e
commit 4ce448b4c0

View file

@ -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