mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #2058] Suppress debug output #989
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#989
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 @johnjeffers on GitHub (Oct 20, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/2058
Act version
act version 0.2.52
Feature description
I would appreciate a flag to suppress
::debug::log output.The debug log lines repeat info I'm already getting from
stdout(but without newlines, so... harder to read). Ideally,debugwould not echo the info I'm already seeing fromstdout, but if that's not possible, it would be great to be able to just turn it off entirely unless I'm actually debugging the workflow.I saw this discussion asking for a feature request, so here is that feature request. Thank you!
@Tomasz-Marciniak commented on GitHub (Apr 30, 2024):
I know this is workaround but you can use this approach:
act | grep -v '::'@jlenuffgsoi commented on GitHub (Jul 12, 2024):
Sure, this works, but we loose color output.
A
--log-levelwould be great.@sebthom commented on GitHub (Sep 6, 2024):
.actrc::messages like::set-output::or::set-env::but only::debugwhich seem to have less value for regular users. E.g. the following is just noise for an end-useract | findstr /V ::debugbut this breaks ANSI coloring and emojis.@aliozinan commented on GitHub (Sep 17, 2024):
this will keep the color in the output :
grep --color=always -v '::'@isuda commented on GitHub (Sep 27, 2024):
Try CLICOLOR_FORCE=1
github.com/nektos/act@6657fcae3d/pkg/runner/logger.go (L248)