Skip to content

Commit

Permalink
WIP: Test Vale Frontmatter
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianrbz committed Nov 21, 2024
1 parent 06c3ae3 commit bfbab55
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,20 @@ jobs:
reviewdog_url: https://github.com/mheap/reviewdog/releases/download/v10.0.0/reviewdog_10.0.0_Linux_x86_64.tar.gz
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Prepare Frontmatters for Vale
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
cd tools/vale-frontmatter
npm ci
node index.js $CHANGED_FILES
- uses: mheap/vale-action@reviewdog
if: steps.changed-files.outputs.any_changed == 'true'
with:
fail_on_error: true
files: '${{ steps.changed-files.outputs.all_changed_files }}'
filter_mode: file
reporter: github-pr-annotations
reviewdog_url: https://github.com/mheap/reviewdog/releases/download/v10.0.0/reviewdog_10.0.0_Linux_x86_64.tar.gz
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit bfbab55

Please sign in to comment.