Skip to content

Commit

Permalink
Merge pull request #1526 from grafana/jdb/2025-01-use-vale-action
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbaldry authored Jan 14, 2025
2 parents c47142f + 785c244 commit 830bb59
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,9 @@ jobs:
container:
image: grafana/vale:latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Vale
run: |
(cd /etc/vale && vale sync)
vale --output=/etc/vale/rdjsonl.tmpl docs/sources | \
/bin/reviewdog \
--conf=/etc/vale/.reviewdog.yml \
--fail-on-error \
--f=rdjsonl \
--name=vale \
--reporter=github-pr-review
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: grafana/writers-toolkit/vale-action@4b1248585248751e3b12fd020cf7ac91540ca09c # vale-action/v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 830bb59

Please sign in to comment.