mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #2551] Add support for additional JSON fields to output setup, clean, and pre stage step status #1170
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1170
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?
Originally created by @SanjulaGanepola on GitHub (Nov 30, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2551
Act version
act version 0.2.69
Feature description
For the GitHub Local Actions extension, I am working on a pull request here to add support for displaying job and step level status for an executing workflow. As part of this, I am parsing the output of the command and always including the
--jsonfield. However, there are a few missing fields and messages to support this.The following new JSON fields will be needed:
stepResultforPrestage steps to know if the pre stage succeeded or failed (Poststage already has this so it makes sense to keep it consistent).setupResultandcleanupResultfield for the final setup and final clean up message to know if it succeeded or failed.typethat is eithersetuporcleanup.Another additional JSON message that would be very helpful would be when a job is skipped or a step is skipped. This is not as a high priority as the above 3 requirements, but it would make it very easy to display skipped jobs/steps in the tree view.
In the PRs current state, I am unable to tell the pre stage step status,
Complete Jobstatus (aka clean up), and theSetup Jobstatus (I temporarily marked it as always successful for now, but this is not ideal):