build(docs): make github actions bot own its commits #18
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: build | |
on: [push, pull_request] | |
jobs: | |
stylua: | |
name: stylua | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: JohnnyMorganz/stylua-action@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: latest | |
args: --color always --check lua/ | |
docs: | |
name: vimdoc | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: kdheepak/panvimdoc@main | |
with: | |
vimdoc: scalpel.nvim | |
version: "NVIM v0.10.0" | |
toc: true | |
treesitter: true | |
docmappingprojectname: false | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "build(docs): auto generate vim documentation" | |
commit_user_name: "github-actions[bot]" | |
commit_user_email: "github-actions[bot]@users.noreply.github.com" | |
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>" |