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

Backport of use github token if present when fetching org id into release/1.12.x #19618

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #19244 to be assessed for backporting due to the inclusion of the label backport/1.12.x.

The below text is copied from the body of the original PR.


When running our acceptance tests in other repos, we often hit the rate limit for GitHub's API. See https://github.com/hashicorp/terraform-provider-vault/actions/runs/3767881277/jobs/6405863202#step:5:349 as an example. This change takes in the Github token (if present) when creating the GH client so that we can make authenticated requests, which bumps the rate limit to 5k requests per hour, instead of the 60/hour that we're currently exceeding.


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/VAULT-13616-use-github-token-if-present-when-fetching-org-id/wildly-current-earwig branch 2 times, most recently from 58f9f7e to e2d1f9e Compare March 17, 2023 21:00
@fairclothjm fairclothjm enabled auto-merge (squash) March 17, 2023 21:00
@fairclothjm fairclothjm merged commit b866a36 into release/1.12.x Mar 17, 2023
@fairclothjm fairclothjm deleted the backport/VAULT-13616-use-github-token-if-present-when-fetching-org-id/wildly-current-earwig branch March 17, 2023 21:56
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