fix(ui): always use rest_nvim_result
filetype
#195
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 | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- ".github/**" | |
- "**.md" | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
stylua: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup and run stylua | |
uses: JohnnyMorganz/stylua-action@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: v0.19.1 | |
args: --config-path=stylua.toml . | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "chore: autoformat with stylua" | |
branch: ${{ github.ref }} | |
- name: Push formatted files | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: ${{ github.ref }} |