Skip to content

Commit 458577b

Browse files
committed
Switch to using vale
1 parent e769d39 commit 458577b

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

.github/workflows/vale.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Spelling & Styles
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- '**.md'
9+
pull_request:
10+
branches:
11+
- main
12+
13+
jobs:
14+
vale:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
20+
- name: Vale Linting
21+
uses: errata-ai/vale-action@reviewdog
22+
with:
23+
files: '["product/*.md"]'

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ scripts/node_modules
44
scripts/learningpath
55
scripts/newsite
66
scripts/.env
7-
.vs
7+
.vs
8+
.github/vale/*

.vale.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
StylesPath = .github/vale
2+
MinAlertLevel = suggestion
3+
4+
Packages = https://github.com/InnerSourceCommons/isc-styles/releases/latest/download/ISC.zip
5+
6+
[*]
7+
BasedOnStyles = ISC

0 commit comments

Comments
 (0)