Skip to content

Commit b216ced

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 ff0a822 commit b216ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GitGitGadget/trigger-workflow-dispatch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const waitForWorkflowRun = async (context, token, owner, repo, workflow_id, afte
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

0 commit comments

Comments
 (0)