Fix order #68
Workflow file for this run
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: Stylua | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| jobs: | |
| stylua: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run stylua | |
| uses: JohnnyMorganz/stylua-action@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| version: latest | |
| args: . | |
| - name: Commit changes | |
| run: | | |
| git config --global user.name "jolly[bot]" | |
| git config --global user.email "jolly[bot]@users.noreply.github.com" | |
| git add . | |
| git diff --cached --quiet || git commit -m "jolly-bot: auto-format Lua files using Stylua" | |
| git push |