From e217d31c9873756f4e81d6a64433aa09f839bd05 Mon Sep 17 00:00:00 2001 From: Sebastian Spier Date: Wed, 29 Jan 2025 22:50:42 +0100 Subject: [PATCH 1/3] Fixing versions of GH actions that the vale workflow uses. expecting vale to still fail due to wrong vocab folder structure. --- .github/workflows/vale.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index 530dfab1..64a145b0 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -10,16 +10,17 @@ on: pull_request: branches: - main + workflow_dispatch: jobs: vale: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - 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/"]' From 2e4088b2ee9c2f686ff84047febc34743eb98788 Mon Sep 17 00:00:00 2001 From: Sebastian Spier Date: Wed, 29 Jan 2025 22:53:09 +0100 Subject: [PATCH 2/3] Moving custom vocab file to location required since vale v3.0 --- .github/vale/{Vocab => config/vocabularies}/Base/accept.txt | 0 .github/vale/{Vocab => config/vocabularies}/Base/reject.txt | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename .github/vale/{Vocab => config/vocabularies}/Base/accept.txt (100%) rename .github/vale/{Vocab => config/vocabularies}/Base/reject.txt (100%) diff --git a/.github/vale/Vocab/Base/accept.txt b/.github/vale/config/vocabularies/Base/accept.txt similarity index 100% rename from .github/vale/Vocab/Base/accept.txt rename to .github/vale/config/vocabularies/Base/accept.txt diff --git a/.github/vale/Vocab/Base/reject.txt b/.github/vale/config/vocabularies/Base/reject.txt similarity index 100% rename from .github/vale/Vocab/Base/reject.txt rename to .github/vale/config/vocabularies/Base/reject.txt From 9669dcf686c2575a4b8235abf15bc877689da300 Mon Sep 17 00:00:00 2001 From: Sebastian Spier Date: Wed, 29 Jan 2025 22:56:42 +0100 Subject: [PATCH 3/3] Install asciidoctor before running vale --- .github/workflows/vale.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index 64a145b0..f940a8d6 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -17,6 +17,9 @@ jobs: runs-on: ubuntu-latest steps: + - name: Install Asciidoctor + run: sudo apt-get install -y asciidoctor + - uses: actions/checkout@v4 - name: Vale Linting