Skip to content

feat: set github token authorization in request header#36

Merged
patriciobcs merged 1 commit intoparitytech:mainfrom
moliholy:feat/github-token
Nov 21, 2025
Merged

feat: set github token authorization in request header#36
patriciobcs merged 1 commit intoparitytech:mainfrom
moliholy:feat/github-token

Conversation

@moliholy
Copy link
Contributor

@moliholy moliholy commented Nov 10, 2025

This PR places the corresponding github authorization HTTP header if the GITHUB_TOKEN environment variable is present. This avoids the need to fallback to the gh binary.

Since I was on it, I created a github_query helper function to make the code cleaner.

@moliholy
Copy link
Contributor Author

@patriciobcs pinging for visibility.

@patriciobcs patriciobcs merged commit 326e615 into paritytech:main Nov 21, 2025
2 checks passed
@moliholy moliholy deleted the feat/github-token branch November 21, 2025 17:46
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.

2 participants