Skip to content

step-security/setup-gh-cli-action

Repository files navigation

Setup GH CLI Action

A GitHub action that installs or updates the gh CLI.

Inputs

version

The gh version to install.
Can also be set to latest to install the latest available version (including prereleases), or stable to install the latest stable release.
Defaults to stable.

github-token

The token to use for retrieving the release. Can be set to ${{secrets.GITHUB_TOKEN}}.
Use this if you hit rate limits.

Outputs

full-version

The full version was installed.

Example Usage

uses: step-security/setup-gh-cli-action@v2
with:
  version: stable

About

A GitHub action that installs or updates the gh CLI

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published