From 63eb8a13d5ecf474e6e42113b2d528ecaca2d4dc Mon Sep 17 00:00:00 2001 From: Aolin Date: Fri, 5 Jul 2024 14:11:33 +0800 Subject: [PATCH] CI: fix vale runs --- .github/workflows/vale.yaml | 4 ++-- styles/{Vocab => config/vocabularies}/PingCAP/accept.txt | 0 styles/{Vocab => config/vocabularies}/PingCAP/reject.txt | 0 styles/vocab.txt | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename styles/{Vocab => config/vocabularies}/PingCAP/accept.txt (100%) rename styles/{Vocab => config/vocabularies}/PingCAP/reject.txt (100%) delete mode 100644 styles/vocab.txt diff --git a/.github/workflows/vale.yaml b/.github/workflows/vale.yaml index b53fa82d15..918adfc86d 100644 --- a/.github/workflows/vale.yaml +++ b/.github/workflows/vale.yaml @@ -9,7 +9,7 @@ jobs: uses: actions/checkout@v3 - name: Vale Linter - uses: errata-ai/vale-action@v2.0.1 + uses: errata-ai/vale-action@reviewdog with: # Optional #styles: | @@ -22,7 +22,7 @@ jobs: files: ./en # Optional - onlyAnnotateModifiedLines: true + filter_mode: added env: # Required, set by GitHub actions automatically: # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret diff --git a/styles/Vocab/PingCAP/accept.txt b/styles/config/vocabularies/PingCAP/accept.txt similarity index 100% rename from styles/Vocab/PingCAP/accept.txt rename to styles/config/vocabularies/PingCAP/accept.txt diff --git a/styles/Vocab/PingCAP/reject.txt b/styles/config/vocabularies/PingCAP/reject.txt similarity index 100% rename from styles/Vocab/PingCAP/reject.txt rename to styles/config/vocabularies/PingCAP/reject.txt diff --git a/styles/vocab.txt b/styles/vocab.txt deleted file mode 100644 index e69de29bb2..0000000000