Open History to see the last commit
1name: autofix.ci # needed to securely identify the workflow
2β
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β
13jobs:
14 autofix:
15 name: autofix
16 runs-on: ubuntu-latest
17 if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
18 steps:
19 - name: Checkout
20 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21 with:
22 persist-credentials: false
23 - name: Setup Vite+
24 uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
25 - name: Fix formatting
26 run: vp run format
27 - name: Generate labeler config
28 run: vp run labeler-generate
29 - name: Apply fixes
30 uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a # v1.3.4
31 with:
32 commit-message: 'ci: apply automated fixes'