Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions .github/workflows/gh-aw-docs-review.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .github/workflows/gh-aw-docs-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ network:
- "docs-v3-preview.elastic.dev"
strict: false
safe-outputs:
allowed-domains:
- www.elastic.co
- docs-v3-preview.elastic.dev
- github.com
noop:
add-comment:
max: 1
Expand Down Expand Up @@ -453,6 +457,8 @@ For inline comments with concrete replacements:
- keep the suggested replacement as small as possible while still fixing the issue, and
- inspect the exact comment body before calling `create_pull_request_review_comment`, especially when using a suggestion block, to confirm it contains the literal replacement text you want GitHub to apply.

Do not use a GitHub suggestion block when the replacement contains a custom-protocol link target such as `kibana://` or `docs-content://`. Also avoid suggestion blocks for bare URLs that are not covered by the safe-output allowlist. Relative links are OK in suggestion blocks. For unsafe link targets, explain the replacement in prose or quote only the affected link target in inline code.

Treat low-priority nits differently:

- avoid nits unless they are grounded in the pre-fetched Vale output or another explicit review rule in this workflow,
Expand Down
Loading