Skip to content

Commit

Permalink
Add Vale Lint GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJimmi committed Nov 5, 2024
1 parent 2351b0a commit 7ac9971
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/vale-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Vale Lint
on: [pull_request]

jobs:
vale:
name: Run Vale on PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: errata-ai/vale-action@v2.1.1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
build/
Builds/
JuceLibraryCode/
vale-styles/

# Prerequisites
*.d
Expand Down
6 changes: 6 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
MinAlertLevel = suggestion
Packages = Microsoft, Google, write-good, proselint, Joblint, alex, Readability
StylesPath = vale-styles/

[*.{md,h}]
BasedOnStyles = Microsoft, Google, write-good, proselint, Joblint, alex, Readability

0 comments on commit 7ac9971

Please sign in to comment.