Automatically start sync when there's any mutations #2674
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: autofix.ci # needed to securely identify the workflow | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main, alpha, beta] | |
| 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/[email protected] | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Tools | |
| uses: tanstack/config/.github/setup@main | |
| - name: Fix formatting | |
| run: pnpm prettier --ignore-unknown . --check | |
| - name: Run ESLint | |
| run: pnpm run lint | |
| - name: Apply fixes | |
| uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 | |
| with: | |
| commit-message: "ci: apply automated fixes" |