-
Notifications
You must be signed in to change notification settings - Fork 8k
Description
Describe the bug
The new gh run list and gh run watch commands don't ask which repository to run against and keep picking a remote I don't care about. If I use gh pr list it asks for a default and saves that somewhere, but there's no such facility for the new action commands.
It seems like 'origin' would be an easy default. I'm passing -R to select one instead but would love to not have to do that.
gh version 1.9.1 (2021-04-15)
https://github.com/cli/cli/releases/tag/v1.9.1
Steps to reproduce the behavior
- setup a repository with two remotes (mine are origin and upstream)
- type
gh run list
Expected vs actual behavior
I first expected that the default to be picked would be 'origin', but then I experimented with gh pr list. I think I'd expect it to work the same as that where it prompts which remote to use as the default.
ACTUAL RESULTS:
my 'upstream' remote has its actions listed. No prompt is displayed for which remote to use. I have to use '-R' to list my origin repo's actions.