You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Publish PR audits as check runs instead of per-push comment floods (checks:write) #6
PR audits are delivered as comments, not check runs, because the app does not declare checks:write. On every push to a PR the app posts one comment per audit dimension (Security Evidence, PR Risk Taxonomy, Reference Set Readiness, Hosted Promotion Readiness), each carrying a <!-- ecc-tools:pr-audit:... --> marker. For an active PR this means 4+ comments per push, which floods the timeline and pushes real review discussion down.
The app's own output acknowledges this: "Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission."
Current declared app permissions (public metadata): contents:write, issues:write, metadata:read, pull_requests:write — no checks:write.
Request
Add checks:write to the app and publish each audit as a check run (per-dimension, or one aggregate check with per-dimension sections in the output).
Only fall back to a PR comment when a check cannot be published or an audit fails, so the timeline stays clean on passing audits.
If per-push comment duplication is intentional, consider collapsing all dimensions into a single editable comment (or updating in place) rather than adding four new comments per push.
Why it matters
Reviewers currently scroll past repeated bot comments to find human review.
Check runs integrate with branch protection and the merge box; comments do not.
A passing audit should be a quiet green check, not four notifications.
Notes
The permission change needs both the app owner to enable it and installation owners to approve the updated permission — filing this so the app-side half can be scheduled.
Happy to validate against a real repo (alsotoes/momo) once enabled.
Activity