Skip to content

Commit 77cd499

Browse files
committed
Fix hot fix fix
Turns out that the date range syntax requires an asterisk for open-ended ranges... Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 2e91f07 commit 77cd499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GitForWindowsHelper/trigger-workflow-dispatch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const waitForWorkflowRun = async (context, owner, repo, workflow_id, after, toke
2626
context,
2727
token,
2828
'GET',
29-
`/repos/${owner}/${repo}/actions/runs?actor=${actor}&event=workflow_dispatch&created=${after}..`
29+
`/repos/${owner}/${repo}/actions/runs?actor=${actor}&event=workflow_dispatch&created=${after}..*`
3030
)
3131
const filtered = res.workflow_runs.filter(e => e.path === `.github/workflows/${workflow_id}` && after.localeCompare(e.created_at) <= 0)
3232
if (filtered.length > 0) return filtered
@@ -51,4 +51,4 @@ const triggerWorkflowDispatch = async (context, token, owner, repo, workflow_id,
5151
return runs[0]
5252
}
5353

54-
module.exports = triggerWorkflowDispatch
54+
module.exports = triggerWorkflowDispatch

0 commit comments

Comments
 (0)