GitHub CLI 2 · Actions and releases

Set a repository secret

Store a secret for GitHub Actions. You are prompted for the value.

gh secret set API_KEY

Official GitHub CLI 2 documentation

More actions and releases commands

All actions and releases commands · GitHub CLI 2 cheatsheet

Was this page helpful?