-
Notifications
You must be signed in to change notification settings - Fork 204
41 lines (35 loc) · 1.39 KB
/
Copy pathvale.yaml
File metadata and controls
41 lines (35 loc) · 1.39 KB
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
37
38
39
40
name: Vale
on: [ pull_request ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v47
with:
files: '**/*.{md,mdx}'
files_ignore: |
sources/api/*.{md,mdx}
apify-api/README.md
apify-api/openapi/README.md
apify-api/openapi/paths/README.md
apify-api/openapi/components/README.md
sources/legal/**/*.{md,mdx}
.claude/**/*.{md,mdx}
.cursor/rules/**/*.{md,mdx}
standards/**/*.{md,mdx}
workflows/**/*.{md,mdx}
separator: ','
- uses: errata-ai/vale-action@reviewdog
if: steps.changed-files.outputs.any_changed == 'true'
with:
files: ${{ steps.changed-files.outputs.all_changed_files }}
separator: ','
fail_on_error: true
filter_mode: nofilter
vale_flags: '--minAlertLevel=error'
reporter: github-pr-annotations