test(ci): testing stylua ci/cd #2
This file contains 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: Format using stylua | |
on: | |
push: | |
branches: | |
- main | |
pull_request_target: | |
jobs: | |
postprocessing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Format with Stylua" | |
uses: JohnnyMorganz/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: v0.15.1 | |
args: . | |
- name: Auto Commit Changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "chore(core): formatted with stylua" |