Repository navigation
Show actionable PR rule summaries and ignore inline link examples - #100
Merged
Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Optional PR comments previously showed only aggregate counts, making it hard to tell which rules need review. The Action now exports a source-free new-rule-counts JSON breakdown, and the opt-in recipe shows up to five rule types, their severity/counts, the number omitted, and local recheck commands. A passing gate with new findings explicitly requests review. Older Action revisions retain the numeric fallback.
The payload accepts bounded IDs/severities/counts only, validates totals, rejects duplicates/unexpected fields, and stops before GitHub reads/writes on malformed data. The exporter uses catalog metadata and never includes source messages or paths. Existing one-comment ownership, pagination, fork/permission behavior and regression outcome remain unchanged. The CLI-generated recipe matches the copy-ready workflow.
Also fix a concrete dead-path false positive: inline Markdown link syntax inside matched backtick code or with an escaped opening bracket is an example, not a live reference. Actual adjacent links, code in link labels, unclosed markers and escaped exclamation marks remain checked.
Validation: the full local suite passes (687 tests, 13 platform-specific skips), plus the subsequently added actual-comparison-to-exporter integration test passes. Run the standard demo and documentation checks. Node tests execute the real workflow script with a fake GitHub client; no comments are posted. Cross-platform CI and the local composite Action must pass before merge.
New behavior is marked unreleased; published v0.26.2 and rolling v0 are unchanged. Prompt-injection detection scope is unchanged. Includes a clearly labelled synthetic comment preview.