Skip to content

Commit 4068450

Browse files
committed
change workflow to on push
1 parent 90a1e2e commit 4068450

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/vale.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
name: Vale style check
22
on:
3+
push:
4+
branches:
5+
- main
6+
- '**'
7+
paths:
8+
- '**.mdx'
9+
- '**.md'
10+
- '.vale/**'
11+
- '.vale.ini'
312
pull_request:
413
paths:
514
- '**.mdx'
@@ -11,8 +20,8 @@ jobs:
1120
vale:
1221
runs-on: ubuntu-latest
1322
if: |
14-
github.event.pull_request.user.login != 'fern-support' &&
15-
github.event.pull_request.user.login != 'github-actions'
23+
github.actor != 'github-actions' &&
24+
github.actor != 'fern-support'
1625
steps:
1726
- uses: actions/checkout@v4
1827

0 commit comments

Comments
 (0)