summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJason Song <i@wolfogre.com>2023-06-16 04:57:31 +0200
committerJason Song <i@wolfogre.com>2023-06-16 05:08:39 +0200
commit8c56bd3aa5a68666e5200873ee4684d23acd62a6 (patch)
treea5fcbe2956ed75ae1d77a62b8cd039d2f4a1139f /README.md
parentfix local workflow for `act_runner exec` (#63) (diff)
parentchore: bump VERSION to 0.2.46 (diff)
downloadforgejo-act-8c56bd3aa5a68666e5200873ee4684d23acd62a6.tar.xz
forgejo-act-8c56bd3aa5a68666e5200873ee4684d23acd62a6.zip
Merge tag 'nektos/v0.2.46'
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 56465c5..4cc8ce9 100644
--- a/README.md
+++ b/README.md
@@ -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