[GH-ISSUE #1850] Allow config loading from cmdline #898

Open
opened 2026-03-01 21:47:15 +03:00 by kerem · 1 comment
Owner

Originally created by @thejcannon on GitHub (Jun 8, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1850

Act version

0.2.46

Feature description

I'm writing a thing that wraps act, and the config is in a known place on disk (but isn't ./.actrc or ~/.actrc), so it'd be wonderful if I could have it use act --config <path>

❤️ act. Such an amazing tool. Thank you, dearly.

Originally created by @thejcannon on GitHub (Jun 8, 2023). Original GitHub issue: https://github.com/nektos/act/issues/1850 ### Act version 0.2.46 ### Feature description I'm writing a thing that wraps act, and the config is in a known place on disk (but isn't `./.actrc` or `~/.actrc`), so it'd be wonderful if I could have it use `act --config <path>` :heart: `act`. Such an amazing tool. Thank you, dearly.
Author
Owner

@thejcannon commented on GitHub (Jun 8, 2023):

Ah, the workaround is to set XDG_CONFIG_DIRS=<Special Path>:$XDG_CONFIG_DIRS

<!-- gh-comment-id:1583156135 --> @thejcannon commented on GitHub (Jun 8, 2023): Ah, the workaround is to set `XDG_CONFIG_DIRS=<Special Path>:$XDG_CONFIG_DIRS`
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#898
No description provided.