diff options
author | Jason Song <i@wolfogre.com> | 2023-06-16 04:57:31 +0200 |
---|---|---|
committer | Jason Song <i@wolfogre.com> | 2023-06-16 05:08:39 +0200 |
commit | 8c56bd3aa5a68666e5200873ee4684d23acd62a6 (patch) | |
tree | a5fcbe2956ed75ae1d77a62b8cd039d2f4a1139f /README.md | |
parent | fix local workflow for `act_runner exec` (#63) (diff) | |
parent | chore: bump VERSION to 0.2.46 (diff) | |
download | forgejo-act-8c56bd3aa5a68666e5200873ee4684d23acd62a6.tar.xz forgejo-act-8c56bd3aa5a68666e5200873ee4684d23acd62a6.zip |
Merge tag 'nektos/v0.2.46'
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -217,6 +217,12 @@ If your workflow depends on this token, you need to create a [personal access to act -s GITHUB_TOKEN=[insert token or leave blank and omit equals for secure input] ``` +If [GitHub CLI](https://cli.github.com/) is installed, the [`gh auth token`](https://cli.github.com/manual/gh_auth_token) command can be used to autmatically pass the token to act + +```bash +act -s GITHUB_TOKEN="$(gh auth token)" +``` + **WARNING**: `GITHUB_TOKEN` will be logged in shell history if not inserted through secure input or (depending on your shell config) the command is prefixed with a whitespace. # Known Issues |