Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvement on getRunIdAndUrl #264

Open
jcahigal opened this issue Dec 4, 2024 · 0 comments
Open

improvement on getRunIdAndUrl #264

jcahigal opened this issue Dec 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jcahigal
Copy link

jcahigal commented Dec 4, 2024

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:

export async function getRunIdAndUrl({

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

@Codex- Codex- added the enhancement New feature or request label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants