Skip to content

Commit

Permalink
fixup! Add option to GithubCreatePRCommand for closing PRs with a spe…
Browse files Browse the repository at this point in the history
…cific prefix
  • Loading branch information
ja-openai committed Oct 8, 2024
1 parent 0a141b9 commit 5c8505c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,9 @@ public List<GHIssueComment> getPRComments(String repository, int prNumber) {

public List<GHPullRequest> listPR(String repository, GHIssueState state) {
try {
String repoFullPath = getRepositoryPath(repository);
return getGithubClient(repository)
.getRepository(repository)
.getRepository(repoFullPath)
.getPullRequests(GHIssueState.OPEN);
} catch (IOException | NoSuchAlgorithmException | InvalidKeySpecException e) {
throw new RuntimeException(e);
Expand Down

0 comments on commit 5c8505c

Please sign in to comment.