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

WIP add remote check to secret and variable commands #9083

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

wingleung
Copy link

Fixes #4688

@wingleung wingleung marked this pull request as ready for review June 2, 2024 10:28
@wingleung wingleung requested a review from a team as a code owner June 2, 2024 10:28
@wingleung wingleung requested a review from andyfeller June 2, 2024 10:28
@cliAutomation cliAutomation added the external pull request originating outside of the CLI core team label Jun 2, 2024
@cliAutomation cliAutomation added this to Needs review 🤔 in The GitHub CLI Jun 2, 2024
@@ -103,6 +110,11 @@ func removeRun(opts *DeleteOptions) error {
if err != nil {
return err
}

err = cmdutil.ValidateHasOnlyOneRemote(opts.HasRepoOverride, opts.Remotes)
if err != nil {

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external pull request originating outside of the CLI core team
Projects
No open projects
The GitHub CLI
  
Needs review 🤔
Development

Successfully merging this pull request may close these issues.

Secret created in Upstream Repo instead of Current Repo
3 participants