Skip to content

Commit

Permalink
Move vale configs into docs/ (#47575)
Browse files Browse the repository at this point in the history
Organize vale prose linter configurations into the `docs` directory so
automated workflows treat them as Teleport documentation changes.
Otherwise, vale style changes are classified as code changes, which is
not correct.
  • Loading branch information
ptgott authored Oct 17, 2024
1 parent 7608065 commit 822c5e1
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/doc-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,5 @@ jobs:
# changed files.
filter_mode: added
fail_on_error: true
vale_flags: "--config=docs/.vale.ini"

2 changes: 1 addition & 1 deletion .vale.ini → docs/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = .github/vale-styles
StylesPath = vale-styles
MinAlertLevel = suggestion

[formats]
Expand Down

0 comments on commit 822c5e1

Please sign in to comment.