Add GitHub Actions workflow for automatic code formatting (#5157)

This commit is contained in:
Matiss Janis Aboltins
2025-06-14 11:34:08 +01:00
committed by GitHub
parent b5f29ccb4a
commit d27d62b5fc
2 changed files with 29 additions and 0 deletions

23
.github/workflows/autofix.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: autofix.ci
defaults:
run:
shell: bash
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up environment
uses: ./.github/actions/setup
- name: Format code
run: yarn lint:fix
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27