Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

add autofix.ci workflow (#5173)

Louis Beaumont55c4f541dbd8
diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml
new file mode 100644
index 000000000..9fd8c8b2d
--- /dev/null
+++ b/.github/workflows/autofix.yml
@@ -0,0 +1,29 @@
+name: autofix.ci
+
+on:
+ pull_request:
+ push:
+ branches: [main]
+
+permissions:
+ contents: read
+
+env:
+ GIT_LFS_SKIP_SMUDGE: 1
+
+jobs:
+ autofix:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v7
+
+ - name: Set up Rust
+ uses: actions-rust-lang/setup-rust-toolchain@v1
+ with:
+ components: rustfmt
+ rustflags: ""
+
+ - name: Format Rust
+ run: cargo fmt --all
+
+ - uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a