Skip to content

Commit

Permalink
Use PAT in examples for dispatch (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp authored Apr 15, 2021
1 parent e09d435 commit bb54f2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ If you want to make something happen just before releases are created, you can d

```yml
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.TAGBOT_PAT }}
dispatch: true
```

Expand All @@ -312,14 +312,14 @@ These actions will have 5 minutes to run by default, but you can customize the n

```yml
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.TAGBOT_PAT }}
dispatch: true
dispatch_delay: 30
```

Avoid setting a delay longer than the interval between TagBot runs, since your dispatch event will probably be triggered multiple times and the same release will also be attempted more than once.

To use this feature, you must provide your own personal access token.
To use the `dispatch` feature, you must provide your own personal access token.
For more details, see [Personal Access Tokens (PATs)](#personal-access-tokens-pats).

### Release Branch Selection
Expand Down

0 comments on commit bb54f2e

Please sign in to comment.