Skip to content

Commit 5bfe08e

Browse files
committedAug 22, 2023
chore: add autofix ci
1 parent cb9adf4 commit 5bfe08e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
 

‎.github/workflows/autofix.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: autofix.ci # needed to securely identify the workflow
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: ["main"]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
autofix:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- run: corepack enable
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: 18
20+
cache: "pnpm"
21+
- run: pnpm install
22+
- name: Fix lint issues
23+
run: pnpm run lint:fix
24+
- uses: autofix-ci/action@8caa572fd27b0019a65e4c695447089c8d3138b9
25+
with:
26+
commit-message: "chore: apply automated lint fixes"

0 commit comments

Comments
 (0)
Please sign in to comment.