return-dispatch icon indicating copy to clipboard operation
return-dispatch copied to clipboard

improvement on getRunIdAndUrl

Open jcahigal opened this issue 1 year ago • 0 comments

This is just a suggestion, due to we can set a not totally unique distinct_id value, all executed workflows are taken from github and this change also improve github query: here "getRunIdAndUrl" function has the "startTime" parameter: https://github.com/Codex-/return-dispatch/blob/434138f9b799da9e7415ac46dab7ef54d26de398/src/return-dispatch.ts#L133

so it could be passed as argument to "fetchWorkflowRunIds" and formatted to be used as "created" parameter in "listWorkflowRuns" due to this github action is the responsible to run the workflow.

This is working properly via REST client, for instance: https://api.github.com/repos///actions/runs?created=>2024-12-04T16:38:50Z

returning from 661 to 2 workflows executions

jcahigal avatar Dec 04 '24 18:12 jcahigal