Closed
Description
CLI Feedback
When creating secrets, they were unexpectantly created in an Upstream repo.
gh repo view
myrepo123/MyApp123
$Secret | gh secret set $SecretName
gh secret list
> AEU2_MY_Secret123 Updated 2021-09-15
gh secret list -R myrepo123/MyApp123
>
gh secret list -R upstream123/MyApp123
> AEU2_MY_Secret123 Updated 2021-11-05
So this means that when creating a secret I have to do the following ?
$repo = git config --get remote.origin.url
$Secret | gh secret set $SecretName -R $repo
gh secret list -R $repo
> AEU2_MY_Secret123 Updated 2021-11-05
I would prefer it the secret was created in the Repo that I am currently in?!