Skip to content

Commit

Permalink
update vale
Browse files Browse the repository at this point in the history
  • Loading branch information
PedramNavid committed Aug 14, 2024
1 parent 4b1793a commit 1258d51
Showing 1 changed file with 1 addition and 52 deletions.
53 changes: 1 addition & 52 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,55 +32,4 @@ jobs:
files: '["docs-next/docs"]'
vale_flags: "--config=docs/.vale.ini"
fail_on_error: true
reporter: github-pr-check


on:
pull_request:
paths:
- 'docs/**'
- .github/workflows/vale.yml
push:
branches:
- master
- docs-prod
paths:
- 'docs/**'
- .github/workflows/vale.yml

concurrency:
group: ${{ github.workflow}}-${{github.ref}}
cancel-in-progress: true

permissions:
contents: read

jobs:
vale:
name: runner / vale
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: errata-ai/vale-action@reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: '["docs/content", "docs/sphinx"]'
vale_flags: "--config=docs/.vale.ini"
fail_on_error: true
- uses: errata-ai/vale-action@reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: '["docs/content", "docs/sphinx"]'
vale_flags: "--config=docs/.vale.ini"
fail_on_error: true
reporter: github-pr-review
- uses: errata-ai/vale-action@reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: '["docs/content", "docs/sphinx"]'
vale_flags: "--config=docs/.vale.ini"
fail_on_error: true
reporter: github-check
reporter: github-pr-check

0 comments on commit 1258d51

Please sign in to comment.