mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #600] [MERGED] Refactor .actrc locations and default image survey #1517
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#1517
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/600
Author: @catthehacker
Created: 4/3/2021
Status: ✅ Merged
Merged: 4/5/2021
Merged by: @cplee
Base:
master← Head:xdg-config📝 Commits (2)
6dd56eerefactor: move survey/cfgs into own funcs, read XDG base dirs for config40ee9bcrefactor: usego-homedir, check if XDG var is not empty📊 Changes
4 files changed (+96 additions, -107 deletions)
View changed files
📝
cmd/root.go(+79 -47)📝
go.mod(+1 -3)📝
go.sum(+0 -44)📝
pkg/runner/run_context.go(+16 -13)📄 Description
Fixes #599
Moved actrc locations to own func since it can be reused.
Moved survey part to own func due to high cyclomatic complexity.
Added XDG config dir to config locations.
Replaced using HOME envvar with
go-homedirmodule since it's alreadyan indirect dependency and handles home directories better for each GOOS.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.