Merge pull request #823 from puremourning/run-to-cursor-vs #58
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: "Update vim docs" | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'README.md' | |
- 'docs/configuration.md' | |
workflow_dispatch: | |
jobs: | |
update-vim-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Update local repo' | |
run: './update-vim-docs' | |
- name: 'Check diffs' | |
run: 'git diff' | |
- name: 'Create pull request' | |
uses: peter-evans/create-pull-request@v3 | |
id: cpr | |
with: | |
token: ${{ secrets.VIMSPECTOR_UPDATE_BOT_PAT }} | |
push-to-fork: VimspectorUpdateBot/vimspector | |
commit-message: "Update vim docs" | |
branch: 'auto/update-vim-docs' | |
delete-branch: true | |
title: "[Auto] Update vim docs" | |
body: "Update the vim docs after recent changes" | |
labels: "auto" | |
- name: Check outputs | |
run: | | |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" | |
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" |