feat(actions): workflow_step webhook events + step API detail + step status fix #1

Closed
will.anderson wants to merge 0 commits from feat/workflow-step-events into dev
Owner

Summary

  • Add workflow_step webhook event type — fires on every step state transition (queued → in_progress → completed), following the same pattern as workflow_job
  • Populate steps in the Jobs REST API response — GET /repos/:owner/:repo/actions/jobs/:id now returns per-step name/status/conclusion/timing
  • Fix step status bug: the inline loop was calling ToActionsStatus(job.Status) for every step, making every step reflect the whole job conclusion. Now calls ToActionWorkflowStep(step, i) which correctly uses step.Status

Test plan

  • CI build passes
  • GET /repos/.../actions/runs/:id/jobs returns steps array with individual step status/conclusion
  • Step webhook fires on state transitions in a test repo
## Summary - Add `workflow_step` webhook event type — fires on every step state transition (queued → in_progress → completed), following the same pattern as `workflow_job` - Populate `steps` in the Jobs REST API response — `GET /repos/:owner/:repo/actions/jobs/:id` now returns per-step name/status/conclusion/timing - Fix step status bug: the inline loop was calling `ToActionsStatus(job.Status)` for every step, making every step reflect the whole job conclusion. Now calls `ToActionWorkflowStep(step, i)` which correctly uses `step.Status` ## Test plan - [ ] CI build passes - [ ] `GET /repos/.../actions/runs/:id/jobs` returns `steps` array with individual step status/conclusion - [ ] Step webhook fires on state transitions in a test repo
Author
Owner

Closing as already-merged / superseded. The head commit 4e929ad is an ancestor of dev, stage, and main (verified via git merge-base --is-ancestor and git branch -r --contains), so this feature — workflow_step webhook events + step API detail + step status fix — has fully landed on all three branches. git grep workflow_step origin/dev confirms it (models/webhook, modules/webhook/type.go, tests/integration).

The stale red build-push check on this branch was the pre-buildx CI: the branch predates dev commits 5393a85 (DOCKER_BUILDKIT), 83223bb (buildx --load), and 3a04b04 (semver image tag), which are exactly what fixed the image build. dev/stage/main all build green now. Nothing to merge here.

Closing as already-merged / superseded. The head commit `4e929ad` is an ancestor of **dev, stage, and main** (verified via `git merge-base --is-ancestor` and `git branch -r --contains`), so this feature — workflow_step webhook events + step API detail + step status fix — has fully landed on all three branches. `git grep workflow_step origin/dev` confirms it (models/webhook, modules/webhook/type.go, tests/integration). The stale red `build-push` check on this branch was the pre-buildx CI: the branch predates dev commits 5393a85 (DOCKER_BUILDKIT), 83223bb (buildx --load), and 3a04b04 (semver image tag), which are exactly what fixed the image build. dev/stage/main all build green now. Nothing to merge here.
will.anderson closed this pull request 2026-07-22 21:51:52 +00:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/gitea#1