Merge pull request #267 from MekDrop/codex/upgrade-vue-router-to-5 #428
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: | |
| push: | |
| branches: | |
| - master | |
| concurrency: | |
| group: "autofix-${{ github.ref_name }}" | |
| 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-file: package.json | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run Prettier | |
| run: npm run 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.ref_name }} |