fixup! add permissions #2
Workflow file for this run
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: Docs | |
on: | |
push: | |
# Uncomment before merge | |
# branches: | |
# - master | |
jobs: | |
doc: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Neovim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
- name: panvimdoc | |
uses: kdheepak/[email protected] | |
with: | |
vimdoc: git-dev | |
input_file: README.md | |
toc: true | |
vim_version: "Neovim verion 0.9" | |
description: "" | |
demojify: true | |
treesitter: true | |
shiftheadinglevelby: -1 | |
docmapping: true | |
- name: Generate help tags | |
run: nvim --headless --clean -c "helptags doc/" -c qa | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "doc: auto generate" | |
branch: ${{ github.head_ref }} | |
file_pattern: doc |