Skip to content

Commit

Permalink
ci: Add Vale github action
Browse files Browse the repository at this point in the history
Signed-off-by: Bobby Eshleman <bobby.eshleman@gmail.com>
  • Loading branch information
beshleman committed Jul 30, 2021
1 parent a9e2c9e commit 1501bb3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Linting
on: [push]

jobs:
style:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Style
uses: xcp-ng/vale-styles@v0.1
with:
files: docs/*
7 changes: 7 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
StylesPath = .github/styles/
MinAlertLevel = suggestion

# Only Markdown files;
[*.{md}]
# List of styles to load.
BasedOnStyles = gitlab, vates

0 comments on commit 1501bb3

Please sign in to comment.