Skip to content

Commit

Permalink
Update ci-lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfoxtyler authored Apr 6, 2024
1 parent 9b3f5c8 commit 4df80da
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci-lint
name: Linting
on:
pull_request:
types:
Expand All @@ -7,14 +7,23 @@ on:
- synchronize
- ready_for_review
jobs:
markdownlint:
name: markdownlint
runs-on: warp-ubuntu-latest-x64-2x
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-markdownlint@v0
with:
github_token: ${{ secrets.GH_READER }}
fail_on_error: true
filter_mode: nofilter
vale:
name: vale
runs-on: warp-ubuntu-latest-x64-2x
steps:
- uses: actions/checkout@v4
- uses: errata-ai/vale-action@reviewdog
env:
GITHUB_TOKEN: ${{secrets.GH_READER}}
with:
github_token: ${{ secrets.GH_READER }}
vale_flags: "--glob=*.mdx"
fail_on_error: true

0 comments on commit 4df80da

Please sign in to comment.