mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #2736] Prefix Job StdOut and StdErr #1238
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#1238
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 @qoomon on GitHub (Apr 20, 2025).
Original GitHub issue: https://github.com/nektos/act/issues/2736
Act version
0.2.76
Feature description
Currently the stdout and stderr logs of a job are just logged with a colored prefix of
|that makes it quite hard to know to which job a log line belongs to.Therefore I would suggest to prefix all output lines a like to the other job related logs e.g.,
[build.yaml/test-job]WDYT?
@ChristopherHX commented on GitHub (Apr 21, 2025):
I think this was by design to reduce the noise of long workflow + job names filling the Terminal, if this is not opt in like a cli flag, I think this FR needs 100+ upvotes.
Afaik
act | catwould work. The long form is only used if colors are disabled / no tty is attached, soNO_COLORenv might have the same effect.If you want to parse the output
--jsonis the way to go.@qoomon commented on GitHub (Apr 21, 2025):
@ChristopherHX thx for the explanation. And thanks for the hint towards
--json