Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added vale linter in github actions #704

Merged
merged 14 commits into from
Jul 17, 2024
Merged
14 changes: 14 additions & 0 deletions .github/workflows/vale-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: reviewdog
on: [pull_request]

jobs:
vale:
name: runner / vale
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: errata-ai/vale-action@reviewdog
with:
fail_on_error: true
token: ${{secrets.GITHUB_TOKEN}}
files: ./content
8 changes: 8 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
StylesPath = .github/styles

MinAlertLevel = suggestion

Packages = Google

[*]
BasedOnStyles = Vale, Google
Loading