Skip to content

ci(dspy): Add Ruff linting workflow #3

ci(dspy): Add Ruff linting workflow

ci(dspy): Add Ruff linting workflow #3

Workflow file for this run

name: Lint and Commit
on:
push:
branches:
- main
pull_request:
env:
POETRY_VERSION: "1.6.1"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
- uses: chartboost/ruff-action@v1
with:
args: --fix-only
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Style fixes by Ruff"