Skip to content

Commit

Permalink
chore: add autofix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jul 5, 2023
1 parent fa9c01c commit b3aa049
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: autofix.ci # needed to securely identify the workflow

on:
pull_request:
push:
branches: [ "main" ]

permissions:
contents: read

jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- run: pnpm install
- name: Fix lint issues
run: pnpm run lint:fix
- uses: autofix-ci/action@8bc06253bec489732e5f9c52884c7cace15c0160

0 comments on commit b3aa049

Please sign in to comment.