Skip to content

Commit 2df1771

Browse files
Use rest object to check PRs list in a workflow
1 parent 12d2771 commit 2df1771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
3232
if(!releaseBranchName) { return false }
3333
34-
const {data: prs} = await github.pulls.list({
34+
const {data: prs} = await github.rest.pulls.list({
3535
...context.repo,
3636
state: 'open',
3737
head: `1Password:${releaseBranchName}`,

0 commit comments

Comments
 (0)