-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Vale Reusable GitHub Action (#12)
* fix: added recommended structure * docs: added updates to the README and GitHub template
- Loading branch information
1 parent
be5c91d
commit 32baa71
Showing
2 changed files
with
104 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
version: | ||
description: "The version of the Vale to use" | ||
default: "3.5.0" | ||
type: string | ||
required: false | ||
|
||
jobs: | ||
vale: | ||
name: Writing Checks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Vale Check | ||
uses: errata-ai/vale-action@reviewdog | ||
with: | ||
filter_mode: added | ||
reporter: github-pr-review | ||
vale_flags: --glob=*.{md} --minAlertLevel=error | ||
fail_on_error: false | ||
version: ${{ inputs.version }} | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters