Skip to content

Commit 3461936

Browse files
committed
Add missing parens
1 parent 74b41df commit 3461936

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,15 @@ jobs:
9191
}
9292
9393
// https://github.com/orgs/community/discussions/24709
94-
const workflowRun = await github.rest.actions.listWorkflowRuns({
94+
const workflowRun = (await github.rest.actions.listWorkflowRuns({
9595
owner: context.repo.owner,
9696
repo: context.repo.repo,
9797
workflow_id: 'CI.yml',
9898
branch: pr.head.ref,
9999
event: 'pull_request',
100100
status: 'success',
101101
per_page: 1,
102-
})[0];
102+
}))[0];
103103
104104
if (!workflowRun) {
105105
console.log('No matching workflow run found from branch ', pr.head.ref);

0 commit comments

Comments
 (0)