-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
bugSomething isn't workingSomething isn't workingcoreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsdiscussFeature changes that require discussion primarily among the GitHub CLI teamFeature changes that require discussion primarily among the GitHub CLI teamgh-secretrelating to the gh secret commandrelating to the gh secret commandp1Affects a large population and inhibits workAffects a large population and inhibits work
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-05So 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-05I would prefer it the secret was created in the Repo that I am currently in?!
eitsupi
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcoreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsdiscussFeature changes that require discussion primarily among the GitHub CLI teamFeature changes that require discussion primarily among the GitHub CLI teamgh-secretrelating to the gh secret commandrelating to the gh secret commandp1Affects a large population and inhibits workAffects a large population and inhibits work