mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #1920] [MERGED] Add new CLI flag to log just the job id and not the entire job name #2192
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#2192
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?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/1920
Author: @ImTomEddy
Created: 7/19/2023
Status: ✅ Merged
Merged: 7/19/2023
Merged by: @mergify[bot]
Base:
master← Head:#1821/hide-workflow-and-job-names-from-logs📝 Commits (2)
6059153Add new CLI flag to log just the job id and not the entire job named6f313dUp the action test timeout to 20m from 15m📊 Changes
5 files changed (+30 additions, -10 deletions)
View changed files
📝
.github/actions/run-tests/action.yml(+1 -1)📝
cmd/input.go(+1 -0)📝
cmd/root.go(+2 -0)📝
pkg/runner/logger.go(+25 -9)📝
pkg/runner/runner.go(+1 -0)📄 Description
Log messages can already be fairly long which is exacerbated by the prefix, however the prefix is useful when running multiple jobs within a single act pipeline. The compromise in this PR is to allow for a shorter prefix using just the job ID, which is user configurable.
The flag chosen is intentionally verbose.
Sample output without the flag
Sample output with the flag
Closes https://github.com/nektos/act/issues/1821
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.