Skip to content

Commit

Permalink
feat: add autofix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
elonehoo committed Sep 21, 2023
1 parent 2129004 commit 9264fef
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: autofix.ci
on:
pull_request:
push:
branches: [ "main" ]

permissions:
contents: read

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

- name: Setup PNPM
run: corepack enable

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm

- name: Install
run: pnpm install --no-frozen-lockfile

- name: Lint and fix
run: nr lint:fix

- uses: autofix-ci/action@8bc06253bec489732e5f9c52884c7cace15c0160
with:
commit-message: "chore: apply automatic fixes"

0 comments on commit 9264fef

Please sign in to comment.