Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle non-standard gh response codes #11

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AndEsterson
Copy link

This PR would (at least in my testing) fix two issues relating to non-standard response codes

  1. Allows the user to set the GITHUB_TOKEN env variable, which is passed in the headers, resolves [FR] Use $GITHUB_TOKEN for API requests if available #7
  2. Makes another request if github indicates a redirect, resolves Github may return response codes indicating a redirect #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR] Use $GITHUB_TOKEN for API requests if available Github may return response codes indicating a redirect
1 participant