Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
description: Where Vale will look for files to lint
default: '["README.md","CONTRIBUTING.md","docs/"]'
required: false
vale-flags:
type: string
description: Space-delimited list of flags for the Vale CLI.
default: "--glob=*.md"
required: false
vale-fail-on-error:
description: Exit with 1 when at least one error was reported.
type: boolean
Expand Down Expand Up @@ -44,6 +49,7 @@ jobs:
uses: errata-ai/vale-action@v2.1.1
with:
files: ${{ inputs.vale-files }}
vale_flags: ${{ inputs.vale-flags }}
fail_on_error: ${{ inputs.vale-fail-on-error }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -88,7 +94,7 @@ jobs:
--exclude terraform.io
--exclude hashicorp.com
${{ inputs.linkcheck-files }}

- name: Save lychee cache
uses: actions/cache/save@v5.0.3
if: always()
Expand Down
4 changes: 4 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

Each revision is versioned by the date of the revision.

## 2026-03-18

- Support "vale-flags" input parameter for the `docs` workflow to allow passing additional flags to the Vale CLI.

## 2026-03-10

- Drop leftover registry input.
Expand Down
Loading