octo.nvim icon indicating copy to clipboard operation
octo.nvim copied to clipboard

Feature Request: add ability to rerun, cancel, and view more information for pull request checks

Open benelan opened this issue 2 years ago • 2 comments

Issue Description

Type: feature request

Describe what happened (or what feature you want)

I'd like to be able to rerun and cancel pull request checks. It would also be nice to see more information about runs. The GitHub CLI provides those options, e.g.

gh run [rerun|cancel|view|watch] <run-id>

Describe what you expected to happen

  • New Octo command(s) that let you do things with pr checks. For example: Octo check rerun [run-id] [key=value]
  • Mappings for the checks window (opened via Octo pr checks) that let you rerun/cancel/view the check on the current line

How to reproduce it (as minimally and precisely as possible)

N/A

Tell us your environment

N/A

Anything else we need to know?

I'd like to work on this issue as long as it's something you'd accept into the code base. Let me know, thanks!

benelan avatar Nov 06 '23 05:11 benelan

It would be awesome to have it

Enigama avatar Feb 27 '24 16:02 Enigama

I wanted a way to manage runs from the terminal so I created gh-fzf in the meantime, which has a run command.

benelan avatar Jun 29 '24 00:06 benelan

Think we could add some mappings to the Octo run list command? @GustavEikaas

williambdean avatar Mar 22 '25 15:03 williambdean

Surely, Ill take a look

GustavEikaas avatar Mar 22 '25 15:03 GustavEikaas

Made a draft PR with the most primitive version. You can rerun and cancel a workflow run from within the details buffer. Will keep working on telescope bindings, im assuming thats what you meant @williambdean?

GustavEikaas avatar Mar 22 '25 15:03 GustavEikaas

Yes to binding on picker

williambdean avatar Mar 22 '25 16:03 williambdean

Closing this as much is now supported. If there are any other requests, feel free to open a new issue

williambdean avatar Apr 02 '25 19:04 williambdean