Skip to content

Update GitHub actions linter check and add ruff config for codebase #2

Update GitHub actions linter check and add ruff config for codebase

Update GitHub actions linter check and add ruff config for codebase #2

name: Lint and Commit
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
- uses: chartboost/ruff-action@v1
with:
args: check --fix .
config: .ruff.toml
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'Applied linter fixes by ruff'