Skip to content

fix: make automated checks silent when no findings detected#49

Merged
bkrem merged 1 commit intomasterfrom
fix/auto-review-silent-on-no-findings
Nov 7, 2025
Merged

fix: make automated checks silent when no findings detected#49
bkrem merged 1 commit intomasterfrom
fix/auto-review-silent-on-no-findings

Conversation

@bkrem
Copy link
Member

@bkrem bkrem commented Nov 6, 2025

Summary

This PR updates the Claude Auto Review action to ensure automated checks only generate comments when there are actual findings.

Changes

External Domain URL Detection

  • Added explicit instruction: "ONLY report if URLs are found"
  • Added directive: "If no external domain URLs are detected, do not mention this check at all."

Static Resource Cache-Control Validation

  • Added explicit instruction: "ONLY report if issues are found."
  • Added directive: "If no cache-control issues are detected, do not mention this check at all."

Impact

Reduces noise in PR reviews - automated checks will only speak up when there's something actionable
Improves review clarity - no more empty "no issues found" messages for each check
Maintains functionality - checks still run and report when findings exist

Testing

  • No functional code changes, only prompt instructions
  • Existing workflows will continue to work
  • Next PR review will demonstrate the improved behavior

- Updated External Domain URL Detection to only report when external URLs are found
- Updated Static Resource Cache-Control Validation to only report when issues exist
- Both checks now explicitly skip commenting if no findings are detected
- Improves review output clarity by reducing noise from empty check results
@claude
Copy link

claude bot commented Nov 6, 2025

Claude finished @bkrem's task —— View job


PR Review

Analyzing changes to the Claude Auto Review action...

Todo List:

  • Read changed file
  • Analyze prompt modifications
  • Check for issues
  • Post review findings

✅ No issues found

The prompt modifications correctly implement silent-on-no-findings behavior for both automated checks. Instructions are clear and properly structured.

@bkrem bkrem merged commit c7230a1 into master Nov 7, 2025
1 check passed
@bkrem bkrem deleted the fix/auto-review-silent-on-no-findings branch November 7, 2025 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants