Skip to content

Commit

Permalink
ci(docs): have action create a pull request instead of push
Browse files Browse the repository at this point in the history
  • Loading branch information
sphamba committed Dec 5, 2024
1 parent d07b5b8 commit ebdff8d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,20 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: panvimdoc
uses: kdheepak/panvimdoc@main
with:
vimdoc: smear-cursor.nvim
version: "Neovim >= 0.10.2"
demojify: true
treesitter: true
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v4
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit_message: "chore(build): auto-generate vimdoc"
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>"
commit-message: "chore(build): auto-generate vimdoc"
branch: "docs-auto-generate"
title: "docs: auto-generate vimdoc"
body: "This pull request contains auto-generated Vim documentation."
labels: "documentation"
author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"

0 comments on commit ebdff8d

Please sign in to comment.