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

Feature: add keymap to rerun only failed jobs #26

Closed
jrowlingson opened this issue Jun 18, 2024 · 1 comment · Fixed by #27 or #29
Closed

Feature: add keymap to rerun only failed jobs #26

jrowlingson opened this issue Jun 18, 2024 · 1 comment · Fixed by #27 or #29
Assignees
Labels
enhancement New feature or request

Comments

@jrowlingson
Copy link
Contributor

jrowlingson commented Jun 18, 2024

Description

I found myself wanting a keymap to rerun only failed jobs. This might be useful for users that either do not have a notify service configured or have not watched a given run (via enter or alt-n).

There is an existing map alt-r to rerun the entire run. A new keymap, perhaps alt-R, might be an easy to remember choice for this.

Acceptance Criteria

  • The keymap should run gh run rerun with the --failed flag and refresh the preview.
  • It should be documented both in the readme.md and the keybinding hints header.

Relevant Info

No response

Example Use Case

No response

@jrowlingson jrowlingson added the enhancement New feature or request label Jun 18, 2024
@jrowlingson jrowlingson changed the title Add keymap to rerun only failed jobs Feature: Add keymap to rerun only failed jobs Jun 18, 2024
@jrowlingson jrowlingson changed the title Feature: Add keymap to rerun only failed jobs Feature: add keymap to rerun only failed jobs Jun 18, 2024
@benelan
Copy link
Owner

benelan commented Jun 18, 2024

Great idea, thanks for the contribution!

benelan added a commit that referenced this issue Jun 23, 2024
🤖 I have created a release *beep* *boop*
---


## [0.13.0](v0.12.0...v0.13.0)
(2024-06-23)


### Features

* **pr:** Add `alt-y` keybinding to copy the selected item's branch name
([07a85db](07a85db)),
closes [#24](#24)
* **run:** Add `alt-R` keybinding to rerun only failed jobs
([#27](#27))
([bdd80f9](bdd80f9)),
closes [#26](#26)
* **run:** Modify `enter` keybinding to view logs if the selected run is
completed, deprecates `alt-l`
([b15f6a9](b15f6a9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ben Elan <no-reply@benelan.dev>
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
2 participants