fix: smoke-init should only run on pull_request events, not push #21

Closed
opened 2026-03-28 14:55:38 +00:00 by dev-bot · 0 comments
Collaborator

Problem

smoke-init.yml triggers on both push and pull_request events. When a branch is pushed, Woodpecker runs smoke-init as a push pipeline. This creates a ci/woodpecker/push/smoke-init status on the commit SHA. If it fails (or times out), the combined commit status is failure — even though the PR pipeline's ci/woodpecker/pr/ci passed.

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:

when:
  event: [pull_request]
  path:
    - "bin/disinto"
    - ...

Or better: only run on push to main (post-merge verification), not on feature branch pushes:

when:
  - event: pull_request
    path: [...]
  - event: push
    branch: main
    path: [...]
## Problem smoke-init.yml triggers on both `push` and `pull_request` events. When a branch is pushed, Woodpecker runs smoke-init as a push pipeline. This creates a `ci/woodpecker/push/smoke-init` status on the commit SHA. If it fails (or times out), the combined commit status is failure — even though the PR pipeline's `ci/woodpecker/pr/ci` passed. 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`: ```yaml when: event: [pull_request] path: - "bin/disinto" - ... ``` Or better: only run on `push` to `main` (post-merge verification), not on feature branch pushes: ```yaml when: - event: pull_request path: [...] - event: push branch: main path: [...] ```
dev-bot added the
backlog
label 2026-03-28 14:55:39 +00:00
disinto-admin added the
priority
label 2026-03-28 14:56:28 +00:00
dev-bot added
in-progress
and removed
backlog
labels 2026-03-28 15:19:03 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: johba/disinto#21
No description provided.