Getting Started
The smallest integration is a caller YAML file in the repository you want to validate.
1. Choose a workflow
Section titled “1. Choose a workflow”For a Python CLI that already has a pyproject.toml, start with Python CLI.
Create .github/workflows/ci.yml in your repository:
name: Python CIon: 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: mytoolReplace mytool with the console-script command your package installs, or omit cli-command to skip its help smoke test.
2. Open a pull request
Section titled “2. Open a pull request”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.
3. Choose the next building block
Section titled “3. Choose the next building block”What stays in your repository?
Section titled “What stays in your repository?”Your project retains its tests, dependencies, source, caller workflow, permissions, and branch rules. The shared workflow supplies standard execution logic.
Need help? See Troubleshooting.