ci: setup docs prose linting with vale

- only deploy if prose lint passes
- rework styles download
- add vale anotations matcher
- set MinAlertLevel to warning
- add website pages to the prose linter
- do not fail on docs linting
This commit is contained in:
jo 2022-02-06 15:39:09 +01:00 committed by Jonas L
parent 2d644561bf
commit 75e3760f2e
9 changed files with 81 additions and 0 deletions

18
.github/annotations/vale.json vendored Normal file
View file

@ -0,0 +1,18 @@
{
"problemMatcher": [
{
"severity": "error",
"pattern": [
{
"regexp": "^([^:]+):(\\d+):(\\d+):([^:]+):(.*)$",
"file": 1,
"line": 2,
"column": 3,
"code": 4,
"message": 5
}
],
"owner": "vale-error"
}
]
}