Skip to content

ci: fix issue with push permissions #3

ci: fix issue with push permissions

ci: fix issue with push permissions #3

Workflow file for this run

name: Demicolon CI
on: [push]
jobs:
docs:
if: github.ref == 'refs/heads/main'
name: Pandoc to Vimdoc
runs-on: ubuntu-latest
permissions:
contents: write # git-auto-commit-action needs push permissions
steps:
- uses: actions/checkout@v2
- name: panvimdoc
uses: kdheepak/panvimdoc@main
with:
vimdoc: demicolon
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "docs: auto generate vimdoc"
branch: ${{ github.head_ref }}