-
Notifications
You must be signed in to change notification settings - Fork 46
34 lines (30 loc) · 887 Bytes
/
vale.yml
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
name: Spelling & Styles
on:
push:
branches:
- main
paths:
- '**.asciidoc'
- '**.md'
pull_request:
branches:
- main
workflow_dispatch:
jobs:
vale:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Vale Linting
uses: errata-ai/vale-action@v2
with:
# the folders to run the checks for
files: '["docs/","introduction/", "trusted-committer/", "contributor/", "product-owner/", "project-leader/", "workbook/"]'
# we want to check all files in the folders listed above, but exclude
# a) any files in subfolders (these are translations)
# b) any '-script.asciidoc' files
# c) any '*.vtt' files
vale_flags: '--glob=!{*/*/*,*/*-script.asciidoc,*/*.vtt}'
# one of: added, diff_context, file, nofilter
filter_mode: added
debug: true