Skip to content

Commit b56279d

Browse files
authored
Fixing vale setup (#597)
* 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
1 parent 578bf27 commit b56279d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/vale.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,20 @@ on:
1010
pull_request:
1111
branches:
1212
- main
13+
workflow_dispatch:
1314

1415
jobs:
1516
vale:
1617
runs-on: ubuntu-latest
1718

1819
steps:
19-
- uses: actions/checkout@v3
20+
- name: Install Asciidoctor
21+
run: sudo apt-get install -y asciidoctor
22+
23+
- uses: actions/checkout@v4
2024

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

0 commit comments

Comments
 (0)