fix(python): Fixed nested return + yield call (#190) #187
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: docgen | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
docgen: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Neovim | |
uses: rhysd/action-setup-vim@v1 | |
id: neovim | |
with: | |
neovim: true | |
version: nightly | |
- uses: actions/checkout@v2 | |
- name: Install Mini.nvim | |
uses: actions/checkout@v2 | |
with: | |
repository: echasnovski/mini.nvim | |
path: mini.nvim | |
- name: Generate vim docs | |
run: make documentation | |
- name: Commit changes | |
env: | |
COMMIT_MSG: | | |
[docgen] Update doc/neogen.txt | |
skip-checks: true | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add doc/neogen.txt | |
# Only commit and push if we have changes | |
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push) |