mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-12-01 17:43:15 +00:00
feat: Installing vale(redo) (#2104)
* docs: setup Vale Signed-off-by: Christine Belzie <shecoder30@gmail.com> * adding more content * chore: add Vale configuration and custom dictionary * chore: clean up spelling configuration and remove unused vocabularies * fix: correct file path format for Vale linter configuration --------- Signed-off-by: Christine Belzie <shecoder30@gmail.com> Co-authored-by: Alex <a@tushynski.me>
This commit is contained in:
26
.github/workflows/vale.yml
vendored
Normal file
26
.github/workflows/vale.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Vale Documentation Linter
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'docs/**/*.md'
|
||||
- 'docs/**/*.mdx'
|
||||
- '**/*.md'
|
||||
- '.vale.ini'
|
||||
- '.github/styles/**'
|
||||
|
||||
jobs:
|
||||
vale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Vale linter
|
||||
uses: errata-ai/vale-action@v2
|
||||
with:
|
||||
files: docs
|
||||
fail_on_error: false
|
||||
version: 3.0.5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user