Skip to content

Commit

Permalink
search by name
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Mar 26, 2024
1 parent bc0ffdc commit 26aa038
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/supersetbot/src/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,11 @@ class Github {
}

async searchExistingPRs(branchName) {
const owner = this.context.repo.split('/')[0];
const resp = await this.octokit.rest.pulls.list({
...this.unPackRepo(),
state: 'open',
head: branchName,
head: `${owner}:${branchName}`,
});
return resp.data;
}
Expand Down

0 comments on commit 26aa038

Please sign in to comment.