Skip to content

Commit

Permalink
Merge pull request #62 from actions/update-hacking
Browse files Browse the repository at this point in the history
Update CONTRIBUTING.md
  • Loading branch information
febuiles committed May 12, 2022
2 parents 2fee08e + 0b8c1ff commit 744ab92
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Expand Up @@ -40,7 +40,11 @@ npm run test
## Local Development

We have a script to scan a given PR for vulnerabilities, this will
help you test your local changes. Make sure to [grab a Personal Access Token (PAT)](https://github.com/settings/tokens) before proceeding!
help you test your local changes. Make sure to [grab a Personal Access Token (PAT)](https://github.com/settings/tokens) before proceeding (you'll need `repo` permissions for private repos):

<img width="480" alt="Screenshot 2022-05-12 at 10 22 21" src="https://user-images.githubusercontent.com/2161/168026161-16788a0a-b6c8-428e-bb6a-83ea2a403070.png">

The syntax of the script is:

```sh
$ GITHUB_TOKEN=<token> ./scripts/scan_pr <pr_url>
Expand Down

0 comments on commit 744ab92

Please sign in to comment.