WIP: use oxlint #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: autofix.ci # needed to securely identify the workflow | |
on: | |
pull_request: | |
push: | |
branches: [main, alpha, beta] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
autofix: | |
name: autofix | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Tools | |
uses: ./.github/setup | |
- name: Fix formatting | |
run: pnpm prettier:write | |
- name: Apply fixes | |
uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c | |
with: | |
commit-message: 'ci: apply automated fixes' |