Bump eslint from 8.57.0 to 9.39.1 #365
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 | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| concurrency: | |
| group: "autofix-${{ github.event.pull_request.head.ref }}" | |
| cancel-in-progress: false | |
| jobs: | |
| prettier: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Run Prettier | |
| run: yarn format | |
| - name: Commit changes | |
| id: auto-commit-action | |
| continue-on-error: true | |
| uses: stefanzweifel/git-auto-commit-action@v7 | |
| with: | |
| commit_message: "Apply Prettier formatting" | |
| - name: Push changes | |
| if: success() && steps.auto-commit-action.outputs.changes_detected == 'true' | |
| continue-on-error: true | |
| run: git push origin HEAD:${{ github.head_ref }} |