# https://github.com/kentcdodds/kentcdodds.com/blob/main/.github/workflows/deployment.yml name: autofix.ci # needed to securely identify the workflow on: pull_request: 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 repo uses: actions/checkout@v4 - name: Set up pnpm uses: pnpm/action-setup@v4 with: version: 10.26.0 - name: ⎔ Setup node uses: actions/setup-node@v4 with: node-version: 20 cache: "pnpm" - name: 📥 Download deps run: pnpm install - name: 🔬 Lint run: pnpm format - name: Apply fixes uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a with: commit-message: 'ci: apply automated fixes'