143ed11563
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
26 lines
1.0 KiB
YAML
26 lines
1.0 KiB
YAML
name: Check Docusaurus docs with vale linter
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
vale:
|
|
name: Vale doc linter
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: errata-ai/vale-action@reviewdog
|
|
with:
|
|
# added, diff_context, file, nofilter
|
|
# Default is added: results are filtered for added/modified files. Set to no filter when all files need to be checked.
|
|
# More info: https://github.com/errata-ai/vale-action and https://github.com/reviewdog/reviewdog#filter-mode
|
|
filter_mode: nofilter
|
|
# github-pr-check, github-pr-review, github-check
|
|
reporter: github-pr-check
|
|
# Set fail_on_error to true to make sure builds fail.
|
|
fail_on_error: true
|
|
files: '["docusaurus", "README.md"]'
|
|
env:
|
|
# Required, set by GitHub actions automatically:
|
|
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
|
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|