-
Notifications
You must be signed in to change notification settings - Fork 174
36 lines (34 loc) · 1.02 KB
/
update_vim_docs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 }}"