Skip to content

Commit

Permalink
Fixing vale setup (#597)
Browse files Browse the repository at this point in the history
* Fixing versions of GH actions that the vale workflow uses. expecting vale to still fail due to wrong vocab folder structure.

* Moving custom vocab file to location required since vale v3.0

* Install asciidoctor before running vale
  • Loading branch information
spier authored Jan 29, 2025
1 parent 578bf27 commit b56279d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
8 changes: 6 additions & 2 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@ on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
vale:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install Asciidoctor
run: sudo apt-get install -y asciidoctor

- uses: actions/checkout@v4

- name: Vale Linting
uses: errata-ai/vale-action@reviewdog
uses: errata-ai/vale-action@v2
with:
# the folders to run the checks for
files: '["docs/","introduction/", "trusted-committer/", "contributor/", "product-owner/", "project-leader/", "workbook/"]'
Expand Down

0 comments on commit b56279d

Please sign in to comment.