v2.1.6 #58
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: fix code styling | |
on: | |
push: | |
branches: | |
- master | |
- "*.x" | |
pull_request: | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 10 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Format code | |
run: pnpm run format | |
- name: Commit linted files | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "Fix code styling" |