Skip to content

Commit 16cabec

Browse files
authored
fix syntax error in workflow (#22984)
1 parent 0cbf48b commit 16cabec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/actions-scripts/enable-automerge.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ const github = getOctokit(token)
66

77
main()
88
async function main() {
9-
const pull = await github.rest.pulls.get(
10-
org,
11-
repo,
9+
const pull = await github.rest.pulls.get({
10+
owner: org,
11+
repo: repo,
1212
pull_number: parseInt(prNumber),
1313
})
1414

0 commit comments

Comments
 (0)