mirror of
https://github.com/TanStack/query.git
synced 2026-03-28 16:37:21 +00:00
30 lines
720 B
YAML
30 lines
720 B
YAML
name: autofix.ci # needed to securely identify the workflow
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main, 'v[0-9]', '*-pre', '*-maint']
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
autofix:
|
|
name: autofix
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6.0.2
|
|
- name: Setup Tools
|
|
uses: TanStack/config/.github/setup@main
|
|
- name: Fix formatting
|
|
run: pnpm run format
|
|
- name: Apply fixes
|
|
uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
|
|
with:
|
|
commit-message: 'ci: apply automated fixes'
|