[GH-ISSUE #599] Enhancement: Follow XDG base directories #399

Closed
opened 2026-03-01 21:43:02 +03:00 by kerem · 3 comments
Owner

Originally created by @pgronkievitz on GitHub (Apr 3, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/599

Describe feature

Act is now using $HOME/.actrc. In my opinion it shouldn't clutter home directory and should be in $XDG_CONFIG_HOME/actrc or $XDG_CONFIG_HOME/act/config

Originally created by @pgronkievitz on GitHub (Apr 3, 2021). Original GitHub issue: https://github.com/nektos/act/issues/599 ## Describe feature Act is now using `$HOME/.actrc`. In my opinion it shouldn't clutter home directory and should be in `$XDG_CONFIG_HOME/actrc` or `$XDG_CONFIG_HOME/act/config`
kerem 2026-03-01 21:43:02 +03:00
Author
Owner

@superrnovae commented on GitHub (Aug 8, 2022):

I'm sorry for the necrobump, act saves all actions in the XDG_CONFIG_HOME/act, but it keeps creating .actrc in my home directory.

<!-- gh-comment-id:1208651023 --> @superrnovae commented on GitHub (Aug 8, 2022): I'm sorry for the necrobump, act saves all actions in the XDG_CONFIG_HOME/act, but it keeps creating .actrc in my home directory.
Author
Owner

@catthehacker commented on GitHub (Aug 8, 2022):

act saves all actions in the XDG_CONFIG_HOME/act,

I'm unsure what does that mean as we don't use XDG_CONFIG_HOME for anything but config

but it keeps creating .actrc in my home directory.

create $XDG_CONFIG_HOME/.actrc file and it shouldn't make it in home

<!-- gh-comment-id:1208692335 --> @catthehacker commented on GitHub (Aug 8, 2022): > act saves all actions in the XDG_CONFIG_HOME/act, I'm unsure what does that mean as we don't use `XDG_CONFIG_HOME` for anything but config > but it keeps creating .actrc in my home directory. create `$XDG_CONFIG_HOME/.actrc` file and it shouldn't make it in home
Author
Owner

@superrnovae commented on GitHub (Aug 9, 2022):

I'm unsure what does that mean as we don't use XDG_CONFIG_HOME for anything but config

I'm sorry, I meant to type XDG_CACHE_HOME/act

create $XDG_CONFIG_HOME/.actrc file and it shouldn't make it in home

Thanks, this seems to have worked.

<!-- gh-comment-id:1209618127 --> @superrnovae commented on GitHub (Aug 9, 2022): > I'm unsure what does that mean as we don't use `XDG_CONFIG_HOME` for anything but config I'm sorry, I meant to type XDG_CACHE_HOME/act > create $XDG_CONFIG_HOME/.actrc file and it shouldn't make it in home Thanks, this seems to have worked.
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#399
No description provided.