* chore: update py_autofix.yml workflow to run Ruff Check and Format * ci(js_autofix.yml): remove unnecessary pull request types to trigger workflow only on changes in src/frontend directory
22 lines
506 B
YAML
22 lines
506 B
YAML
name: autofix.ci
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "poetry.lock"
|
|
- "pyproject.toml"
|
|
- "src/backend/**"
|
|
- "tests/**"
|
|
env:
|
|
POETRY_VERSION: "1.8.2"
|
|
|
|
jobs:
|
|
lint:
|
|
name: Run Ruff Check and Format
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: install-pinned/ruff@b52a71f70b28264686d57d1efef1ba845b9cec6c
|
|
- run: ruff check --fix-only .
|
|
- run: ruff format .
|
|
|
|
- uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a
|