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 committed Mar 15, 2022
1 parent 552e363 commit 20299be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
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 20299be

Please sign in to comment.