nektos / act

Run your GitHub Actions locally 🚀

Home Page:https://nektosact.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.actrc ignores command substitution

phoolish opened this issue · comments

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.

This would also allow for other commands like using Bitwarden-cli or something similar to fetch secrets.