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

Switch to pull request list API instead of search #393

Merged
merged 3 commits into from
Aug 26, 2024

Conversation

s0
Copy link
Contributor

@s0 s0 commented Aug 26, 2024

To reduce the amount of rate-limit that we use, switch to a cheaper API for determining whether an existing PR exists for a given branch.

This should avoid hitting the secondary rate limits as much

Context: #391 (comment)

See also #192

Tested here:

To reduce the amount of rate-limit that we use,
switch to a cheaper API for determining whether
an existing PR exists for a given branch.
Copy link

changeset-bot bot commented Aug 26, 2024

🦋 Changeset detected

Latest commit: 4e00a84

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@changesets/action Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@willo-icon willo-icon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greatly appreciate this one since I've been running into this rate limit issue myself. Would love to see this make it in.

.changeset/clean-bees-count.md Outdated Show resolved Hide resolved
@Andarist Andarist merged commit 48ab0d2 into changesets:main Aug 26, 2024
1 check passed
@github-actions github-actions bot mentioned this pull request Aug 26, 2024
@s0 s0 deleted the reduce-api-usage branch September 1, 2024 15:57
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