-
-
Notifications
You must be signed in to change notification settings - Fork 844
32 lines (29 loc) · 854 Bytes
/
Copy pathautofix.yml
File metadata and controls
32 lines (29 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: autofix.ci # needed to securely identify the workflow
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
autofix:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- run: npm i -g --force corepack && corepack enable
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: lts/*
cache: "pnpm"
- run: pnpm install
- run: pnpm stub
- run: pnpm gen-presets
- name: Fix lint issues
run: pnpm fmt
- uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a # v1.3.4
with:
commit-message: "chore: apply automated updates"