Skip to content

Commit 516a887

Browse files
authored
Use glob to select files to be checked by vale (InnerSourceCommons#541)
* Use glob to select files to be checked by vale * Removing GH token * Remove unused gitignore rule * Adding debug flag, to increase inspectability of vale output in future GHA runs
1 parent 44fab36 commit 516a887

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/vale.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- name: Vale Linting
2121
uses: errata-ai/vale-action@reviewdog
2222
with:
23-
files: '["patterns/2-structured/*.md", "patterns/2-structured/project-setup/*.md"]'
24-
env:
25-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
23+
files: '["patterns/2-structured/", "patterns/3-validated/"]'
24+
vale_flags: "--glob=*.md"
25+
filter_mode: added
26+
debug: true

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# We want to ignore our vale StylesPath
2-
.github/vale/*
2+
.github/vale/*

patterns/2-structured/project-setup/communication-tooling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ to a lower need to repeat explanations.
8282

8383
Isabel Drost-Fromm
8484

85-
## Acknowledgement
85+
## Acknowledgment
8686

8787
Sebastian Spier (for the visual)
8888

0 commit comments

Comments
 (0)