Skip to content

Commit

Permalink
docs: add more details about GITHUB_TOKEN (#399)
Browse files Browse the repository at this point in the history
As it can simplify folks' setup for their workflows.
  • Loading branch information
jamietanna authored Feb 22, 2023
1 parent 45b3791 commit 1d44853
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ on:
pull_request:
push:

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -194,7 +197,7 @@ Following environment variables can be used as `step.env` keys

| Name | Description |
|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|
| `GITHUB_TOKEN` | [GITHUB_TOKEN](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token) as provided by `secrets` |
| `GITHUB_TOKEN` | [GITHUB_TOKEN](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token) as provided by `secrets` and requires `contents:write` |
| `GORELEASER_KEY` | Your [GoReleaser Pro](https://goreleaser.com/pro) License Key, in case you are using the `goreleaser-pro` distribution |

## Limitation
Expand Down

0 comments on commit 1d44853

Please sign in to comment.