mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #1705] [MERGED] Avoid using log.Fatal in pkg/* #2081
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#2081
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/1705
Author: @wolfogre
Created: 3/28/2023
Status: ✅ Merged
Merged: 4/18/2023
Merged by: @mergify[bot]
Base:
master← Head:bugfix/avoid_log_fatal📝 Commits (10+)
6599803fix: common0fb5327fix: in runner02ae778fix: decodeNode6a2a1b7fix: GetMatrixes9ab71ebRevert "fix: common"fc50955fix: GetOutboundIP7b92a8etest: fix casesa2413a0Merge branch 'master' into bugfix/avoid_log_fatalcc20176Merge branch 'master' into bugfix/avoid_log_fatal9ffc5a6Merge branch 'master' into bugfix/avoid_log_fatal📊 Changes
4 files changed (+53 additions, -32 deletions)
View changed files
📝
pkg/model/workflow.go(+33 -25)📝
pkg/model/workflow_test.go(+12 -4)📝
pkg/runner/run_context.go(+2 -2)📝
pkg/runner/runner.go(+6 -1)📄 Description
Although act is a command line tool, it is also a bad idea to use
log.Fatalin packages.To be clear, only packages which are used as libraries. It's fine to use fatal in
cmd.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
GITHUB_TOKENenv variable #2265