Open phoolish opened 9 months ago
This would also allow for other commands like using Bitwarden-cli or something similar to fetch secrets.
I ran into the same issue and was confused until I found out that I basically have to create an alias for act
which includes the act -s GITHUB_TOKEN="$(gh auth token)"
stuff.
That makes it at least a bit easier to work with and not have to include it every time I use act
.
I hope the .actrc
can be improved like that? Or maybe some command we can set in .actrc
that automatically does the gh auth token
in the background?
Act version
0.2.57
Feature description
The README.md documentation recommends using
act -s GITHUB_TOKEN="$(gh auth token)"
for setting your github token during runs, but adding the argument to your.actrc
ignores the command substitution and results in$GITHUB_TOKEN
being set to"$(gh auth token)"
.It would be helpful if
.actrc
properly evaluated the commands, but I understand if that is a large undertaking and is better left to a wrapper script.