Skip to content

feat: docs should build on all branches but only commit on main #23

feat: docs should build on all branches but only commit on main

feat: docs should build on all branches but only commit on main #23

Workflow file for this run

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>"
branch: "main"