[GH-ISSUE #357] Feature request: Make --secret-file=.secrets the default behaviour? #251

Closed
opened 2026-03-01 21:41:47 +03:00 by kerem · 5 comments
Owner

Originally created by @carlthome on GitHub (Sep 4, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/357

Currently, you have to explicitly configure which secrets to pickup when calling act. Similarly to how .env files are automatically read without additional CLI flags, perhaps the same should happen for the proposed .secrets file that's mentioned in the --secret-file help.

My current workaround is to simply commit an .actrc to my repo with --secret-file=.secrets set, but I spent a while being confused before realizing this was necessary.

Originally created by @carlthome on GitHub (Sep 4, 2020). Original GitHub issue: https://github.com/nektos/act/issues/357 Currently, you have to explicitly configure which secrets to pickup when calling `act`. Similarly to how .env files are automatically read without additional CLI flags, perhaps the same should happen for the proposed .secrets file that's mentioned in the --secret-file help. My current workaround is to simply commit an .actrc to my repo with `--secret-file=.secrets` set, but I spent a while being confused before realizing this was necessary.
kerem 2026-03-01 21:41:47 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@github-actions[bot] commented on GitHub (Nov 4, 2020):

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

<!-- gh-comment-id:721443156 --> @github-actions[bot] commented on GitHub (Nov 4, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Author
Owner

@carlthome commented on GitHub (Nov 4, 2020):

Bump

<!-- gh-comment-id:721559744 --> @carlthome commented on GitHub (Nov 4, 2020): Bump
Author
Owner

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

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

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

@catthehacker commented on GitHub (Jan 4, 2021):

Bump, very easy to implement, will look at it in few hours.

<!-- gh-comment-id:753975526 --> @catthehacker commented on GitHub (Jan 4, 2021): Bump, very easy to implement, will look at it in few hours.
Author
Owner

@carlthome commented on GitHub (Jan 20, 2021):

Nice!

<!-- gh-comment-id:763597380 --> @carlthome commented on GitHub (Jan 20, 2021): Nice!
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#251
No description provided.