Openstatus
www.openstatus.dev
1# https://github.com/kentcdodds/kentcdodds.com/blob/main/.github/workflows/deployment.yml
2name: autofix.ci # needed to securely identify the workflow
3on:
4 pull_request:
5
6concurrency:
7 group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
8 cancel-in-progress: true
9
10permissions:
11 contents: read
12
13
14jobs:
15 autofix:
16 name: autofix
17 runs-on: ubuntu-latest
18 steps:
19 - name: ⬇️ Checkout repo
20 uses: actions/checkout@v4
21
22 - name: Set up pnpm
23 uses: pnpm/action-setup@v4
24 with:
25 version: 10.26.0
26
27 - name: ⎔ Setup node
28 uses: actions/setup-node@v4
29 with:
30 node-version: 20
31 cache: "pnpm"
32
33 - name: 📥 Download deps
34 run: pnpm install
35
36 - name: 🔬 Lint
37 run: pnpm format
38 - name: Apply fixes
39 uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a
40 with:
41 commit-message: 'ci: apply automated fixes'