Skip to content

Commit

Permalink
Add Vale workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
  • Loading branch information
jdbaldry committed Feb 6, 2024
1 parent 6345fc1 commit 59f1693
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint prose with Vale
on:
pull_request:
paths: ["docs/sources/**"]
workflow_dispatch:
jobs:
vale:
runs-on: ubuntu-latest
container:
image: grafana/vale:latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run linter
run: >
/bin/reviewdog
--conf=/etc/vale/.reviewdog.yml
--fail-on-error
--reporter=github-pr-review
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 59f1693

Please sign in to comment.