Improve hint for inserting secrets securely (#1354)

This commit is contained in:
Felix Seifert 2022-09-21 16:02:35 +02:00 committed by GitHub
parent 053bff19a7
commit fb3368921a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@ GitHub [automatically provides](https://docs.github.com/en/actions/security-guid
If your workflow depends on this token, you need to create a [personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) and pass it to `act` as a secret:
```bash
act -s GITHUB_TOKEN=[insert token or leave blank for secure input]
act -s GITHUB_TOKEN=[insert token or leave blank and omit equals for secure input]
```
**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.