Skip to content

Commit 9214bf9

Browse files
committed
Split PR review from branch check workflows
1 parent f293536 commit 9214bf9

File tree

2 files changed

+23
-10
lines changed

2 files changed

+23
-10
lines changed

.github/workflows/reviewdog.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Reviewdog
2+
on: [pull_request]
3+
jobs:
4+
vint:
5+
name: vint
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: vint
10+
uses: reviewdog/action-vint@v1
11+
with:
12+
github_token: ${{ secrets.github_token }}
13+
reporter: github-pr-review

.github/workflows/vint.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: Vint
2-
on: [push, pull_request]
2+
on: [push]
33
jobs:
44
vint:
5-
strategy:
6-
fail-fast: false
5+
name: vint
76
runs-on: ubuntu-latest
87
steps:
9-
- name: Checkout
10-
uses: actions/checkout@master
11-
- name: Run vint with reviewdog
12-
uses: reviewdog/[email protected]
13-
with:
14-
github_token: ${{ secrets.github_token }}
15-
reporter: github-pr-review
8+
- name: Checkout
9+
uses: actions/checkout@v2
10+
- name: Set up Python
11+
uses: actions/setup-python@v2
12+
- name: Setup dependencies
13+
run: pip install vim-vint
14+
- name: Lint Vimscript
15+
run: vint .

0 commit comments

Comments
 (0)