feat: authenticate GitHub API requests using GH_TOKEN/GITHUB_TOKEN - #6071
Conversation
This comment has been minimized.
This comment has been minimized.
aaa0dbf to
21d2475
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Melvin Wang (@wmmc88) thanks for the submission! I think it might be good to put something in the PowerShell documentation for where this feature applies. I noticed there are no new arguments, and it's just using the environment variables. I wouldn't want folks surprised in the event this code is being executed, and it wasn't really defined anywhere in documentation. |
a8aa277 to
c24407d
Compare
c24407d to
597a7b2
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
597a7b2 to
a543937
Compare
This comment has been minimized.
This comment has been minimized.
… PowerShell module (microsoft#5949) Add automatic detection of GH_TOKEN and GITHUB_TOKEN environment variables in the PowerShell module GitHubClient to authenticate GitHub API requests, increasing rate limits from 60 to 5,000/hour. Also add documentation to Repair-WinGetPackageManager and Assert-WinGetPackageManager help docs describing the environment variable behavior.
a543937 to
8a75395
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
JohnMcPMS Demitrius Nelon (@denelon) resolved all the failures that i think are relevant. are the remaining ones just flaky tests? |
|
The test failures are from a dependency that we use the preview build of in our pipelines so that we can catch integration issues earlier. This change should be good once we have sorted that issue out. For context: |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
closes #5949
Microsoft Reviewers: Open in CodeFlow