[PR #1026] [MERGED] feat: add json logger output #1735

Closed
opened 2026-03-01 21:52:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1026
Author: @KnisterPeter
Created: 3/3/2022
Status: Merged
Merged: 3/14/2022
Merged by: @mergify[bot]

Base: masterHead: allow-json-logger


📝 Commits (3)

  • 6bab877 feat: add json logger output
  • c0846db refactor: use runner config
  • b0f8726 Merge branch 'master' into allow-json-logger

📊 Changes

5 files changed (+62 additions, -23 deletions)

View changed files

📝 cmd/input.go (+1 -0)
📝 cmd/root.go (+6 -0)
📝 pkg/runner/command_test.go (+6 -1)
📝 pkg/runner/logger.go (+47 -21)
📝 pkg/runner/runner.go (+2 -1)

📄 Description

This will allow to format log output as json.
This is helpful in cases where act is not executed on a 'local' machine.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/1026 **Author:** [@KnisterPeter](https://github.com/KnisterPeter) **Created:** 3/3/2022 **Status:** ✅ Merged **Merged:** 3/14/2022 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `allow-json-logger` --- ### 📝 Commits (3) - [`6bab877`](https://github.com/nektos/act/commit/6bab877965e00e26d5122f1718bdc70c1e975ede) feat: add json logger output - [`c0846db`](https://github.com/nektos/act/commit/c0846db787faffa608275f9b8131b015c7b64b1f) refactor: use runner config - [`b0f8726`](https://github.com/nektos/act/commit/b0f87267fb4809a06b1ff02fc93b343026f99cf5) Merge branch 'master' into allow-json-logger ### 📊 Changes **5 files changed** (+62 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `cmd/input.go` (+1 -0) 📝 `cmd/root.go` (+6 -0) 📝 `pkg/runner/command_test.go` (+6 -1) 📝 `pkg/runner/logger.go` (+47 -21) 📝 `pkg/runner/runner.go` (+2 -1) </details> ### 📄 Description This will allow to format log output as json. This is helpful in cases where act is not executed on a 'local' machine. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:52:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1735
No description provided.