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 diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index 530dfab1..f940a8d6 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -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/"]'