github-action-utils
Collection of python functions that can be used to run GitHub Action Workflow Commands
Decision gist · record as of 2026-08-14
Yes, if you are writing Python code inside a GitHub Actions workflow and want a cleaner API than shell echo commands. The package is stable, has no dependencies, carries a permissive MIT license, and has no known vulnerabilities. The dormant maintenance status (last release 2022-10-17) is not a blocker for a thin wrapper around stable GitHub APIs, but verify that the documented functions still work with your target Python and Actions environment before relying on it in production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Must run inside a GitHub Actions workflow environment to access GITHUB_OUTPUT, GITHUB_STATE, and other action-specific environment variables.
- Low install friction with no runtime dependencies.
- Maintenance is dormant—last release was 2022-10-17 and last commit 2023-10-01—but the package is not archived and has no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2022-10-17 (1397 days) · last repo commit 2023-10-01 · 81 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 817,293 downloads/mo, #4,986 on PyPI
Alternatives
Verify before relying
pip install github-action-utils
import github_action_utils as gha_utils
gha_utils.set_output("my_output", "test_value")
gha_utils.error("Error message", title="Error Title", file="example.py", col=1, line=1)- Whether dormant status (last commit 2023-10-01) affects compatibility with recent GitHub Actions API changes.
- Whether all documented functions work correctly with Python 3.11 and 3.10 given the long maintenance gap.
What it is and what it does
This package wraps GitHub Actions workflow commands as Python functions, allowing you to emit structured logs, set step outputs, manage state, and organize workflow console output from within a Python script running in an action. It provides functions for debug, notice, warning, and error messages with optional file/line annotations, output parameter setting via GITHUB_OUTPUT, state management via GITHUB_STATE, job summary appending, and log grouping. The package has no external runtime dependencies and works by writing to GitHub's standard environment files or echoing command syntax to stdout.
It is designed specifically for use inside GitHub Actions workflows—either as a standalone Python step or embedded in a workflow's inline Python shell. The functions map directly to GitHub's documented workflow command syntax, so you write Python instead of shell echo statements to control action behavior and logging.
Use it for
- Emit structured debug, warning, and error messages with file/line annotations from a Python action step.
- Set step outputs and state variables for use in downstream steps or post-action cleanup.
- Append formatted markdown content to the job summary visible in the workflow run UI.
- Group related log lines into collapsible sections to reduce workflow console noise.
- Stop and restart workflow command processing to log raw text without accidental command interpretation.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are writing Python code inside a GitHub Actions workflow and want a cleaner API than shell echo commands.
The package is stable, has no dependencies, carries a permissive MIT license, and has no known vulnerabilities. The dormant maintenance status (last release 2022-10-17) is not a blocker for a thin wrapper around stable GitHub APIs, but verify that the documented functions still work with your target Python and Actions environment before relying on it in production.
Install
github-action-utils on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2022-10-17 and last commit 2023-10-01—but the package is not archived and has no known vulnerabilities.
Must run inside a GitHub Actions workflow environment to access GITHUB_OUTPUT, GITHUB_STATE, and other action-specific environment variables.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install github-action-utils
import github_action_utils as gha_utils
gha_utils.set_output("my_output", "test_value")
gha_utils.error("Error message", title="Error Title", file="example.py", col=1, line=1)
Verify before relying
- Whether dormant status (last commit 2023-10-01) affects compatibility with recent GitHub Actions API changes.
- Whether all documented functions work correctly with Python 3.11 and 3.10 given the long maintenance gap.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 1,397 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 817,293 / month, #4,986 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPython |
Evidence: github_action_utils-1.1.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “github actions python workflow commands”
- github-action-utilsProvides Python functions to invoke GitHub Actions workflow commands…
- pytest-github-actions-annotate-failuresA pytest plugin that automatically annotates failed tests in GitHub…
- actionlint-pyactionlint-py provides a pip-installable wrapper that downloads and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also actions-python-core · pytest-github-actions-annotate-failures · commitlint · actionlint-py · tox-gh-actions · requires.io · ghapi · jupyterlab-git · autocommand · actions-toolkit