From a1a49af7bc62b76bedc0f890bb5c6fc3177df762 Mon Sep 17 00:00:00 2001 From: Katrina Prosise Date: Mon, 17 Nov 2025 07:24:36 -0500 Subject: [PATCH] Update vale linter configuration Now uses "latest" fio-style release. Changed reporter type, which may require additional changes. The goal is for cleaner and more helpful PR review feedback. QA steps: Unable to test GitHub action, vale configuration checked for ability to sync. No related issue tracking, small change Signed-off-by: Katrina Prosise --- .github/workflows/main.yml | 11 +++++------ .vale.ini | 12 ++++++------ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 18fdd6531..6b60cc6ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,8 +1,6 @@ name: reviewdog -on: - pull_request: - branches: - - main +on: [pull_request] + jobs: vale: name: runner / vale @@ -11,9 +9,10 @@ jobs: - name: Install docutils run: sudo apt-get install -y docutils - uses: actions/checkout@v4 - - uses: errata-ai/vale-action@reviewdog + - uses: errata-ai/vale-action@v2.1.1 with: - reporter: github-pr-check + files: source/ + reporter: github-pr-review fail_on_error: false env: # Required, set by GitHub actions automatically: diff --git a/.vale.ini b/.vale.ini index 63ef46de5..f3cbfd400 100644 --- a/.vale.ini +++ b/.vale.ini @@ -1,8 +1,8 @@ ############################# Core Settings ################################### -StylesPath = styles +StylesPath = .github/styles MinAlertLevel = suggestion -Packages = https://github.com/foundriesio/fio-style/releases/download/v2.5.0/Fio-docs.zip +Packages = https://github.com/foundriesio/fio-style/releases/latest/download/Fio-docs.zip # You can add different terms to either accept or reject by adding them to vocab. # This can be useful if you are using a new term or writing to a specific audience. @@ -26,13 +26,13 @@ Packages = https://github.com/foundriesio/fio-style/releases/download/v2.5.0/Fio ################################ Format ####################################### # Associations: Useful for alternative file extension; = . -[formats] -mdx = md +#[formats] +#mdx = md # Vale supports a lot of markup languages. ReStructuredText and Markdown being # what we will usually be using. Different styles can be set for different file # formats -[*.{md,rst}] +[*.{rst}] # Based on will enable ALL rules that make up the style BasedOnStyles = Fio-docs @@ -45,8 +45,8 @@ BasedOnStyles = Fio-docs #Fio-docs.Branding-and-names = NO #Fio-docs.InclusiveLanguage = NO #Vale.Spelling = NO +Fio-docs.expand-acronyms = NO # Severity level can be modified for a rule as well: #Vale.Spelling = warning #Fio-docs.Branding-and-names = suggestion -Fio-docs.expand-acronyms = suggestion