Skip to content

Getting Started

The smallest integration is a caller YAML file in the repository you want to validate.

For a Python CLI that already has a pyproject.toml, start with Python CLI.

Create .github/workflows/ci.yml in your repository:

name: Python CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
checks:
uses: RuchirChawdhry/ci-workflows/.github/workflows/python-cli.yml@main
with:
python-version: '3.14.7'
cli-command: mytool

Replace mytool with the console-script command your package installs, or omit cli-command to skip its help smoke test.

Push the caller file. GitHub Actions will start on the configured event. Open its job logs to see linting, formatting, tests, and optional CLI verification.

Your project retains its tests, dependencies, source, caller workflow, permissions, and branch rules. The shared workflow supplies standard execution logic.

Need help? See Troubleshooting.