feat(test): add docs linter to PR workflow actions (#4321)

This commit is contained in:
silverwebb925
2020-10-11 07:02:47 -07:00
committed by GitHub
parent 277a1519be
commit 2146b3605f
37 changed files with 23405 additions and 286 deletions

34
.github/workflows/docslint.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: 'Docs Linting:'
on:
push:
branches:
- master
tags:
- '*'
paths:
- '.github/workflows/docslint.yml'
- 'website/**'
pull_request:
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/docslint.yml'
- 'website/**'
jobs:
Prose:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Vale Linter
uses: errata-ai/vale-action@v1.3.0
with:
# Optional
files: website/content/docs
env:
# Required
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}