when: - event: pull_request branch: exclude: [master, release/*] steps: - name: ruff image: python:3.12-alpine failure: ignore secrets: ["reviewdog_gitea_api_token", "gitea_address"] commands: | cd backend env wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest pip install ruff ruff --output-format sarif . > /tmp/ruff.log cat /tmp/ruff.log cat /tmp/ruff.log | ./bin/reviewdog -f sarif -reporter gitea-pr-review - name: mypy image: python:3.12-alpine failure: ignore secrets: ["reviewdog_gitea_api_token", "gitea_address"] commands: | cd backend wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest pip install mypy mypy . | ./bin/reviewdog -f mypy -reporter gitea-pr-review