GH-VARIABLE(1)
β¨ NAME β¨
gh-variable β the icon that manages your GitHub Actions variables π
(yeah that's the GH-VARIABLE(1) manual page bestie, we're in the GitHub CLI manual and it's giving organized-girlie energy)
πΈ SYNOPSIS πΈ
gh variable <command> [flags]
π¦ DESCRIPTION π¦
okay so listen β variables are a whole thing, and you can set them at the repository, environment or organization level π₯ for use in GitHub Actions or Dependabot. Three levels, two consumers, zero chaos (if you do it right).
Run gh help variable set to learn how to get started π«Ά like literally that's your onboarding bestie, go say hi.
π AVAILABLE COMMANDS π
gh-variable-delete(1)β Delete variables ποΈ bye girlgh-variable-get(1)β Get variables π fetch the teagh-variable-list(1)β List variables π the full lineupgh-variable-set(1)β Create or update variables β¨ glow-up or fresh start, either way slay
π OPTIONS π
-R,--repo <[HOST/]OWNER/REPO>β Select another repository using the[HOST/]OWNER/REPOformat π― yes the[HOST/]is optional, format it exactly like that fr fr
π EXIT CODES π
0: Successful execution π ate, no crumbs1: Error π it's giving unfortunate2: Command canceled π you (or Ctrl+C) said nevermind4: Authentication required π log in bestie, the vibes need credentials
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. Don't come for me about exit codes I didn't list, go check the specific command's help iykyk π
π SEE ALSO π
gh(1)β the main character, the parent, the whole ecosystem π
and that's the page!! brought to you by GitHub CLI v2.102.0, dated Oct 2026 β version and date noted with love, now go set some variables and live your truth π§π
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms