File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,10 +3,14 @@ name: Vale Linting
33# Trigger on PRs that change Markdown files
44on :
55 pull_request :
6+ types : [opened, synchronize, reopened, ready_for_review]
67 paths :
78 - ' content/en/docs/**/*.md'
89
910# Allow reading repo contents and posting PR comments
11+ # Note: Fork PRs from org members run automatically but get read-only tokens,
12+ # so reviewdog falls back to check annotations instead of review comments.
13+ # External contributors require workflow approval per repo settings.
1014permissions :
1115 contents : read
1216 pull-requests : write
4852 separator : ' ,'
4953 version : 3.14.2
5054 fail_on_error : false
51- reporter : github-pr-review
55+ reporter : github-pr-review # Uses filter_mode=added (default): only comment on modified lines
5256 vale_flags : ' --minAlertLevel=error' # Only flag errors, not warnings or suggestions
You can’t perform that action at this time.
0 commit comments