From 9431019e7b35794adfb3e82b7fb36bd3d74f43e9 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 10 Feb 2021 22:35:26 -0800 Subject: [PATCH] fix: find first associate pull request --- src/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.ts b/src/github.ts index 82a57379b..2742d08d3 100644 --- a/src/github.ts +++ b/src/github.ts @@ -560,7 +560,7 @@ export class GitHub { ... on Commit { history(first: $num, after: $cursor) { nodes { - associatedPullRequests(last: 1) { + associatedPullRequests(first: 1) { nodes { number title