Skip to content

Fix GraphQL error when no PRs are found#34

Merged
alicederyn merged 2 commits intomainfrom
fix.empty.query.bug
Jul 22, 2025
Merged

Fix GraphQL error when no PRs are found#34
alicederyn merged 2 commits intomainfrom
fix.empty.query.bug

Conversation

@alicederyn
Copy link
Owner

@alicederyn alicederyn commented Jul 22, 2025

GraphQL returns an error if an empty query is passed, which we were doing if no PRs were found. Skip the second query completely in this edge case.

@alicederyn alicederyn added the bug Something isn't working label Jul 22, 2025
@alicederyn alicederyn enabled auto-merge (squash) July 22, 2025 09:33
@alicederyn alicederyn force-pushed the fix.empty.query.bug branch from 9c4f675 to 381f32c Compare July 22, 2025 14:55
@alicederyn alicederyn merged commit 7f7a963 into main Jul 22, 2025
3 checks passed
@alicederyn alicederyn deleted the fix.empty.query.bug branch July 22, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant