-
-
Notifications
You must be signed in to change notification settings - Fork 201
34 lines (30 loc) · 1.03 KB
/
autofix.yml
File metadata and controls
34 lines (30 loc) · 1.03 KB
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
33
34
name: autofix.ci # needed to securely identify the workflow
on:
pull_request:
push:
branches: [main, alpha, beta, rc]
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
autofix:
name: autofix
runs-on: ubuntu-latest
env:
# Run JS actions (e.g. autofix-ci/action, still `node20` runtime) on Node 24 per
# https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Tools
uses: TanStack/config/.github/setup@main
- name: Fix formatting
run: pnpm format
- name: Apply fixes
# v1.3.3 — API endpoint reliability (see https://github.com/autofix-ci/action/releases/tag/v1.3.3)
uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8
with:
commit-message: 'ci: apply automated fixes'