Skip to content

use GitHub auth token in download util if available#8014

Merged
alexrashed merged 1 commit intomasterfrom
use-github-token
Mar 30, 2023
Merged

use GitHub auth token in download util if available#8014
alexrashed merged 1 commit intomasterfrom
use-github-token

Conversation

@alexrashed
Copy link
Member

Similar to #7716 by @dominikschubert, this PR adjusts the download_github_artifact utils function to set a GitHub auth token as bearer token (if set via the GITHUB_AUTH_TOKEN environment variable).
This helps to mitigate rate limiting issues if lots of runs are executed (f.e. in certain CI environments, as well as in our own testing environment).

@alexrashed alexrashed requested a review from dfangl March 30, 2023 09:32
@coveralls
Copy link

Coverage Status

Coverage: 81.872% (-0.005%) from 81.877% when pulling f6c9f86 on use-github-token into 0804e0c on master.

@alexrashed alexrashed merged commit 018a7e6 into master Mar 30, 2023
@alexrashed alexrashed deleted the use-github-token branch March 30, 2023 10:03
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.

3 participants