Skip to content

feat(github): Arg to make the github PR comment cleaner with zero violations.#1160

Open
joshzcold wants to merge 3 commits into
sbdchd:masterfrom
joshzcold:feat/post_to_github_clean_report
Open

feat(github): Arg to make the github PR comment cleaner with zero violations.#1160
joshzcold wants to merge 3 commits into
sbdchd:masterfrom
joshzcold:feat/post_to_github_clean_report

Conversation

@joshzcold
Copy link
Copy Markdown

@joshzcold joshzcold commented May 21, 2026

When enabled this should just post a report that looks like this

image

Without this we are getting lots of extra comments about sqlfiles that do not report an issue which fills up space in the PR.

image

This PR could also be adjusted to not have a new argument and just have this behavior by default if desired.

Thank you.

joshzcold added 2 commits May 21, 2026 11:28
- When enabled with zero violations the resulting comment will just be
  that `squawk` found no issues in the github report without showing
  files and paths
@netlify
Copy link
Copy Markdown

netlify Bot commented May 21, 2026

👷 Deploy request for squawkhq pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 187b6f3

@joshzcold joshzcold changed the title Feat/post to GitHub clean report feat(github): Arg to make the github PR comment cleaner with zero violations. May 21, 2026
@sbdchd
Copy link
Copy Markdown
Owner

sbdchd commented May 22, 2026

Looks good! I think this behavior seems better all around, thoughts on not making it config option and instead making it the default?

@sbdchd
Copy link
Copy Markdown
Owner

sbdchd commented May 22, 2026

another option is to stuff the sql in a <details> tag

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