Skip to main content

GitHub Actions CLI

A CLI tool for keeping GitHub Actions workflow files up to date. It works with both local repository clones and remote GitHub repositories.

Installation

pip install github-actions-cli

Or run without installing via uvx:

uvx github-actions-cli

Quick start

Run inside any local GitHub repository clone to see which actions have updates available:

github-actions-cli
GitHub Actions CLI, scanning repo in /path/to/repo
.github/workflows/test.yml (Test):
    actions/checkout          v2 ==> v3
    actions/setup-python      v3 ==> v4
    release-drafter/release-drafter  v5
.github/workflows/publish.yml (Publish):
    pypa/gh-action-pypi-publish  v1
    actions/checkout          v2 ==> v3

Actions with an ==> have a newer version available. To apply the updates, add --update:

github-actions-cli --update

GitHub token

A GITHUB_TOKEN is required to query the GitHub API for the latest action versions. Set it as an environment variable or pass it with --github-token.

export GITHUB_TOKEN=ghp_...
github-actions-cli

Writing changes to a remote repository also requires the token to have commit permissions on that repository.

Commands

update-actions (default)

Lists actions that have updates available. Pass --update (-u) to apply the changes.

# Check for updates in the current directory
github-actions-cli

# Apply updates to local workflow files
github-actions-cli --update

# Check and update a remote repository
github-actions-cli --repo cunla/fakeredis update-actions --update

# Use a custom commit message when updating a remote repository
github-actions-cli --repo cunla/fakeredis update-actions --update -commit-msg "chore: update actions"
Usage: github-actions-cli update-actions [OPTIONS]

Options:
  -u, --update      Apply updates to workflow files. For remote repos this
                    creates a commit; for local repos it writes the files.
  -commit-msg TEXT  Commit message (remote repos only).
                    [default: chore(ci):update actions]
  --help            Show this message and exit.

list-workflows

Lists all workflow files found in a repository.

github-actions-cli list-workflows
github-actions-cli --repo cunla/fakeredis list-workflows
.github/workflows/test.yml - Test
.github/workflows/publish.yml - Publish

list-actions

Lists every action referenced in a specific workflow file.

github-actions-cli list-actions .github/workflows/test.yml
github-actions-cli --repo cunla/fakeredis list-actions .github/workflows/test.yml
actions/checkout@v3
actions/setup-python@v4
release-drafter/release-drafter@v5

analyze-orgs

Scans all GitHub organizations the authenticated user belongs to and prints a CSV summary of their repositories.

github-actions-cli analyze-orgs
github-actions-cli analyze-orgs --exclude my-org --exclude another-org

Global options

Usage: github-actions-cli [OPTIONS] COMMAND [ARGS]...

Options:
  --repo TEXT           Repository to scan. Accepts a local path or
                        owner/repo format.  [default: .]
  --github-token TEXT   GitHub token. Falls back to the GITHUB_TOKEN
                        environment variable.
  -m, --major-only      Only flag updates across major versions (e.g. v1 →
                        v2). Minor and patch bumps are ignored.
  -v, --verbose         Increase output verbosity. Pass twice for debug output.
  --help                Show this message and exit.

Metadata

Release files for github-actions-cli 1.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for github-actions-cli 1.2.4
File Size Uploaded Provenance
github_actions_cli-1.2.4.tar.gz 8.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for github-actions-cli 1.2.4
File Interpreter ABI Platform
github_actions_cli-1.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 18.2 kB

Release files / github_actions_cli-1.2.4.tar.gz

Download URL github_actions_cli-1.2.4.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8de0fa06f4c3887c3723c581c4f889c78c3489141157555c9fe5731270ecd3c4
BLAKE2b-256 checksum
How to use checksums
c7be6dc287d28ee9c06fb7bec34dddeda16e36f5eda89bdf70a2af3a56e73341
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 1, 2026.

Transparency log

Release files / github_actions_cli-1.2.4-py3-none-any.whl

Download URL github_actions_cli-1.2.4-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebea0f5e5d8a54b50e44d1698dd2cf5aa69284e259359cc540c80022e8fb19fb
BLAKE2b-256 checksum
How to use checksums
58302ef045ac72f365e5113d08f0aff1e3a380dfc4aa1cba8918e51dd38ebae3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 1, 2026.

Transparency log

Security for github-actions-cli 1.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for github_actions_cli-1.2.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page