Skip to content

Commit a4c259a

Browse files
committed
ci-artifacts: be more precise about finding the latest successful build
Just in case I push a topic branch to the git-for-windows repository by mistake... Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 286392d commit a4c259a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/git.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ export async function getViaGit(
129129
repo,
130130
workflow_id: 938271,
131131
status: 'success',
132+
branch: 'main',
133+
event: 'push',
132134
per_page: 1
133135
})
134136
head_sha = info.data.workflow_runs[0].head_sha

0 commit comments

Comments
 (0)