[PR #1656] [MERGED] Improve XDG Spec supporting #2053

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1656
Author: @tony-sol
Created: 3/1/2023
Status: Merged
Merged: 3/3/2023
Merged by: @mergify[bot]

Base: masterHead: improve-xdg-supporting


📝 Commits (2)

  • 13ecdb1 Improve XDG Spec supporting
  • fc95fad Merge branch 'master' into improve-xdg-supporting

📊 Changes

3 files changed (+15 additions, -9 deletions)

View changed files

📝 cmd/root.go (+10 -6)
📝 go.mod (+2 -1)
📝 go.sum (+3 -2)

📄 Description

Switch from direct using of XDG_CONFIG_HOME env variable to adrg/xdg lib.

Now, it will be support xdg across windows/darwin/unix platforms and looks for config file like:

~/.actrc
"${XDG_CONFIG_HOME}/act/actrc"
"${XDG_CONFIG_HOME}/.actrc"
./.actrc

🔄 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/1656 **Author:** [@tony-sol](https://github.com/tony-sol) **Created:** 3/1/2023 **Status:** ✅ Merged **Merged:** 3/3/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `improve-xdg-supporting` --- ### 📝 Commits (2) - [`13ecdb1`](https://github.com/nektos/act/commit/13ecdb1ffac24792a89cee26e7ed7aad777d1b5a) Improve XDG Spec supporting - [`fc95fad`](https://github.com/nektos/act/commit/fc95fad35c4d40c6bb6fe3df11ddeccdb4a58469) Merge branch 'master' into improve-xdg-supporting ### 📊 Changes **3 files changed** (+15 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `cmd/root.go` (+10 -6) 📝 `go.mod` (+2 -1) 📝 `go.sum` (+3 -2) </details> ### 📄 Description Switch from direct using of `XDG_CONFIG_HOME` env variable to `adrg/xdg` lib. Now, it will be support xdg across windows/darwin/unix platforms and looks for config file like: ``` ~/.actrc "${XDG_CONFIG_HOME}/act/actrc" "${XDG_CONFIG_HOME}/.actrc" ./.actrc ``` --- <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:49 +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#2053
No description provided.