diff --git a/.github/styles/Vocab/Decidim/accept.txt b/.github/styles/config/vocabularies/Decidim/accept.txt similarity index 100% rename from .github/styles/Vocab/Decidim/accept.txt rename to .github/styles/config/vocabularies/Decidim/accept.txt diff --git a/.github/styles/Vocab/Decidim/reject.txt b/.github/styles/config/vocabularies/Decidim/reject.txt similarity index 100% rename from .github/styles/Vocab/Decidim/reject.txt rename to .github/styles/config/vocabularies/Decidim/reject.txt diff --git a/.github/workflows/vale_linting.yml b/.github/workflows/vale_linting.yml index 38d94be2b4..6425727eb1 100644 --- a/.github/workflows/vale_linting.yml +++ b/.github/workflows/vale_linting.yml @@ -5,16 +5,23 @@ on: jobs: prose: runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 - - name: Vale - uses: errata-ai/vale-action@reviewdog - with: - version: 2.20.2 - files: docs/en - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Install Asciidoctor + run: sudo apt-get install -y asciidoctor + + - name: Vale + uses: errata-ai/vale-action@reviewdog + with: + version: 3.7.1 + files: docs/en + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}