[PR #1706] [MERGED] Use os.UserHomeDir #2082

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1706
Author: @wolfogre
Created: 3/28/2023
Status: Merged
Merged: 3/31/2023
Merged by: @mergify[bot]

Base: masterHead: bugfix/homedir


📝 Commits (2)

  • 67937f0 fix: use os.UserHomeDir
  • a7ef941 Merge branch 'master' into bugfix/homedir

📊 Changes

4 files changed (+4 additions, -7 deletions)

View changed files

📝 cmd/notices.go (+1 -2)
📝 cmd/root.go (+1 -2)
📝 go.mod (+1 -1)
📝 pkg/runner/run_context.go (+1 -2)

📄 Description

github.com/mitchellh/go-homedir is made for the old version. After go 1.12, there's os.UserHomeDir.


🔄 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/1706 **Author:** [@wolfogre](https://github.com/wolfogre) **Created:** 3/28/2023 **Status:** ✅ Merged **Merged:** 3/31/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `bugfix/homedir` --- ### 📝 Commits (2) - [`67937f0`](https://github.com/nektos/act/commit/67937f057c27c51f1b8ed7ff22fc4c6c173decab) fix: use os.UserHomeDir - [`a7ef941`](https://github.com/nektos/act/commit/a7ef941a992d25751629b14d27c39a6f8ad8e248) Merge branch 'master' into bugfix/homedir ### 📊 Changes **4 files changed** (+4 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `cmd/notices.go` (+1 -2) 📝 `cmd/root.go` (+1 -2) 📝 `go.mod` (+1 -1) 📝 `pkg/runner/run_context.go` (+1 -2) </details> ### 📄 Description `github.com/mitchellh/go-homedir` is made for the old version. After go 1.12, there's `os.UserHomeDir`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:53:56 +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#2082
No description provided.