* ci: add auto_merge_enabled to pr activity types * fix (auto-update.yml): remove 'dev' branch from trigger to run workflow on 'main' branch pushes only fix (js_autofix.yml): remove unnecessary push trigger for 'main' branch in workflow to run on specific file changes only * ci: Update concurrency settings in CI workflows
29 lines
No EOL
660 B
YAML
29 lines
No EOL
660 B
YAML
name: autofix.ci
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, auto_merge_enabled]
|
|
paths:
|
|
- "poetry.lock"
|
|
- "pyproject.toml"
|
|
- "src/backend/**"
|
|
- "tests/**"
|
|
env:
|
|
POETRY_VERSION: "1.8.2"
|
|
|
|
jobs:
|
|
lint:
|
|
name: Run Mypy
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version:
|
|
- "3.12"
|
|
- "3.11"
|
|
- "3.10"
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: install-pinned/ruff@b52a71f70b28264686d57d1efef1ba845b9cec6c
|
|
- run: ruff check --fix-only .
|
|
- run: ruff format .
|
|
|
|
- uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a |