Set a secret for the current repository (user will be prompted for the value)

gh secret set

  • Create or update GitHub secrets from the command line.
    More information: <https://cli.github.com/manual/gh_secret_set>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

gh secret set {{name}}

click the source code to copy install gh secret set on any operating system with command-not-found.com