Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: autofix.ci
on:
workflow_call:
pull_request:
permissions:
contents: read
Comment thread
asukaminato0721 marked this conversation as resolved.

jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

# Use uv to ensure we have the same ruff version in CI and locally.
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57
# Fix lint errors
- run: uv run ruff check --fix-only .
# Format code
- run: uv run ruff format .

- uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8
Loading