Skip to content

Commit

Permalink
Add note about scopes for PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanzweifel authored Jan 24, 2022
1 parent 2d5591a commit 248fbac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ storing the token as a secret in your repository and then passing the new token
token: ${{ secrets.PAT }}
```

If you create a personal access token, apply the `repo` and `workflow` scopes.

If you work in an organization and don't want to create a PAT from your personal account, we recommend using a [robot account](https://docs.github.com/en/github/getting-started-with-github/types-of-github-accounts) for the token.

## Advanced Uses
Expand Down

0 comments on commit 248fbac

Please sign in to comment.