Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

autofix.yml

32 lines859 Bytes

1name: autofix.ci # needed to securely identify the workflow
2​
3on:
4 pull_request:
5 push:
6 branches: [main, alpha, beta]
7​
8concurrency:
9 group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
10 cancel-in-progress: true
11​
12permissions:
13 contents: read
14​
15jobs:
16 autofix:
17 name: autofix
18 runs-on: ubuntu-latest
19 if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
20 steps:
21 - name: Checkout
22 uses: actions/checkout@v4.2.2
23 - name: Setup Tools
24 uses: tanstack/config/.github/setup@main
25 - name: Fix formatting
26 run: pnpm prettier:write
27 - name: Generate labeler config
28 run: pnpm labeler-generate
29 - name: Apply fixes
30 uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
31 with:
32 commit-message: 'ci: apply automated fixes'