Skip to content

Commit 7bd2a31

Browse files
authored
gh auth token advice
1 parent 4fe71e6 commit 7bd2a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This is a set of scripts that use these APIs to access and manage alerts. The sc
1212

1313
- Python 3.10 or higher
1414
- Install dependencies with `python3 -mpip install -r requirements.txt`
15-
- Put a suitable GitHub token in your environment in `GITHUB_TOKEN`
15+
- Put a suitable GitHub token in your environment in `GITHUB_TOKEN`, for example with `GITHUB_TOKEN=$(gh auth token)` before the command
1616
- requires read access to GitHub Advanced Security alerts
1717
- requires read access to the repository, organization or Enterprise you are querying
1818
- Note that Secret Scanning alerts are only available to admins of the repository, organization or Enterprise, a security manager, or where explicitly enabled by the repository owner

0 commit comments

Comments
 (0)