Files
.github
ISSUE_TEMPLATE
workflows
create-release.yml
docslint.yml
fossa.yml
labeler.yml
nodejs.yml
.kodiak.toml
CODEOWNERS
PULL_REQUEST_TEMPLATE.md
stale.yml
.husky
.storybook
__mocks__
cypress
dev-test
functions
img
packages
scripts
website
.all-contributorsrc
.editorconfig
.eslintrc.js
.gitattributes
.gitignore
.nvmrc
.prettierignore
.prettierrc
.stylelintrc
.vale.ini
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
babel.config.js
cms.png
commitlint.config.js
cypress.json
jest.config.js
lerna.json
netlify.toml
package.json
renovate.json
setupTestFramework.js
tsconfig.json
yarn.lock
static-cms/.github/workflows/docslint.yml

33 lines
643 B
YAML
Raw Normal View History

name: 'Docs Linting:'
on:
push:
branches:
- master
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@v3
- name: Vale Linter
2021-01-26 11:50:09 -08:00
uses: errata-ai/vale-action@0dec3032fa59c4097deece7cf6ee3261b27bb3f1
with:
# Optional
files: website/content/docs
env:
# Required
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}