[GH-ISSUE #431] secret file path should be absolute #298

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

Originally created by @rgarrigue on GitHub (Nov 25, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/431

Hi there

I added --secret-file=~/.somewhere/github in my ~/.actrc. It doesn't work since

time="2020-11-25T12:10:50+01:00" level=debug msg="Loading secrets from /home/me/work/stuf/~/somewhere/github"

Either make it an absolute path, or try relative then absolute ?

Originally created by @rgarrigue on GitHub (Nov 25, 2020). Original GitHub issue: https://github.com/nektos/act/issues/431 Hi there I added --secret-file=~/.somewhere/github in my ~/.actrc. It doesn't work since ``` time="2020-11-25T12:10:50+01:00" level=debug msg="Loading secrets from /home/me/work/stuf/~/somewhere/github" ``` Either make it an absolute path, or try relative then absolute ?
kerem 2026-03-01 21:42:10 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@rgarrigue commented on GitHub (Nov 25, 2020):

And while you're at it, defaulting to ./.secrets, like env is defaulting to ./.env maybe.

<!-- gh-comment-id:733642979 --> @rgarrigue commented on GitHub (Nov 25, 2020): And while you're at it, defaulting to ./.secrets, like env is defaulting to ./.env maybe.
Author
Owner

@github-actions[bot] commented on GitHub (Jan 16, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:761279531 --> @github-actions[bot] commented on GitHub (Jan 16, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@FoxxMD commented on GitHub (Sep 13, 2022):

This is still an issue, please re-open

<!-- gh-comment-id:1245714136 --> @FoxxMD commented on GitHub (Sep 13, 2022): This is still an issue, please re-open
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#298
No description provided.