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

Get workflow runs for a PR #910

Closed
wd60622 opened this issue Mar 1, 2025 · 0 comments · Fixed by #911
Closed

Get workflow runs for a PR #910

wd60622 opened this issue Mar 1, 2025 · 0 comments · Fixed by #911
Labels
command Dealing with Octo commands enhancement New feature or request

Comments

@wd60622
Copy link
Collaborator

wd60622 commented Mar 1, 2025

Should be able to add the branch flag to the current function call here:

local output, stderr = gh.run.list {
json = run_list_fields,
limit = workflow_limit,
opts = { mode = "sync" },
}

then expose it here:

M.list = function()
utils.info "Fetching workflow runs (this may take a while) ..."
local wf_runs = get_workflow_runs_sync()

as well as in the commands.lua

Though it would be using the workflow logic, I think Octo pr runs might make sense as a command.

Thoughts on this? @GustavEikaas

@wd60622 wd60622 added enhancement New feature or request command Dealing with Octo commands labels Mar 1, 2025
@wd60622 wd60622 mentioned this issue Mar 2, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command Dealing with Octo commands enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant