Skip to content

Commit

Permalink
Pre-fill scopes on creation of the PAT
Browse files Browse the repository at this point in the history
To simplify the selection of the scopes by users setting this up, we can
use the `scopes` querystring parameter to add the scopes we need.
  • Loading branch information
jamietanna authored and naveensrinivasan committed Mar 15, 2022
1 parent 552e363 commit b1fb47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -31,7 +31,7 @@ To install the Scorecards GitHub Action, you need to:
3) Set up the workflow via the GitHub UI

### Authentication
1. [Create a Personal Access Token](https://github.com/settings/tokens/new) with the following read permissions:
1. [Create a Personal Access Token](https://github.com/settings/tokens/new?scopes=public_repo,read:org,read:repo_hook,read:discussion) with the following read permissions:
- Note: `Read-only token for OSSF Scorecard Action - myorg/myrepo` (Note: replace `myorg/myrepo` with the names of your organization and repository so you can keep track of your tokens.)
- Expiration: `No expiration`
- Scopes:
Expand Down

0 comments on commit b1fb47d

Please sign in to comment.