gh-variable(1)

gh-variable1

Manage github actions variables

Usage

gh variable <command> [flags]

Overview

Variables can be set at the repository, environment or organization level for use in GitHub Actions or Dependabot. Run gh help variable set to learn how to get started.

Available commands

gh-variable-delete(1)

Delete variables

gh-variable-get(1)

Get variables

gh-variable-list(1)

List variables

gh-variable-set(1)

Create or update variables

Options

-R, --repo <[HOST/]OWNER/REPO>

Select another repository using the [HOST/]OWNER/REPO format

Exit status

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From github-cli 2.102.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.