Skip to content

Commit 9b1d366

Browse files
committed
ci: Add Vale github action
Signed-off-by: Bobby Eshleman <[email protected]>
1 parent a9e2c9e commit 9b1d366

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/vale.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Linting
3+
on: [push]
4+
5+
jobs:
6+
style:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@master
11+
- name: Style
12+
uses: xcp-ng/[email protected]
13+
with:
14+
files: docs/*

.vale.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
StylesPath = .github/styles/
2+
MinAlertLevel = suggestion
3+
4+
# Only Markdown files;
5+
[*.{md}]
6+
# List of styles to load.
7+
BasedOnStyles = gitlab, vates

0 commit comments

Comments
 (0)