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

autofix.yml

36 lines1.2 KB

1name: autofix.ci # needed to securely identify the workflow
2​
3on:
4 pull_request:
5 push:
6 branches: [main, alpha, beta, rc]
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 env:
20 # Run JS actions (e.g. autofix-ci/action, still `node20` runtime) on Node 24 per
21 # https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
22 FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
23 steps:
24 - name: Checkout
25 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26 with:
27 persist-credentials: false
28 - name: Setup Tools
29 uses: TanStack/config/.github/setup@190f659075ff0845850e330883eb26d7ffd0671f # main
30 - name: Fix formatting
31 run: pnpm format
32 - name: Apply fixes
33 # v1.3.3 — API endpoint reliability (see https://github.com/autofix-ci/action/releases/tag/v1.3.3)
34 uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8
35 with:
36 commit-message: 'ci: apply automated fixes'