Skip to content

Commit

Permalink
Add pr_status help about GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jan 25, 2023
1 parent 05b54d2 commit d7b08cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion acsoo/pr_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ def search_prs():

@click.command()
def pr_status():
"""Show status of PR found in requirement files."""
"""Show status of PR found in requirement files.
If set, the GITHUB_TOKEN environment variable is used to authenticate with the
GitHub API and avoid rate limiting.
"""
# get github token from env
token = os.environ.get("GITHUB_TOKEN")
if token:
Expand Down

0 comments on commit d7b08cd

Please sign in to comment.