fix: smoke-init should only run on pull_request events, not push #21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
smoke-init.yml triggers on both
pushandpull_requestevents. When a branch is pushed, Woodpecker runs smoke-init as a push pipeline. This creates aci/woodpecker/push/smoke-initstatus on the commit SHA. If it fails (or times out), the combined commit status is failure — even though the PR pipeline'sci/woodpecker/pr/cipassed.The reviewer checks combined commit status and skips the PR. The dev-agent eventually times out waiting for review.
Fix
Change smoke-init to only trigger on
pull_request:Or better: only run on
pushtomain(post-merge verification), not on feature branch pushes: