Skip to content

Commit c504904

Browse files
authored
Include ready_for_review, add comments
1 parent 4bd7b12 commit c504904

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/vale.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ name: Vale Linting
33
# Trigger on PRs that change Markdown files
44
on:
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.
1014
permissions:
1115
contents: read
1216
pull-requests: write
@@ -48,5 +52,5 @@ jobs:
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

0 commit comments

Comments
 (0)