Skip to content

Commit 24f5778

Browse files
Merge pull request #126 from 1Password/vzt/fix-release-pr-workflow
Use `rest` object to check PRs list in a workflow
2 parents 12d2771 + 2df1771 commit 24f5778

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)