Commit Graph

5 Commits

Author SHA1 Message Date
Luke Mino-Altherr
09403bd734 Revert to latest-per-reviewer approval check for OSS repos
Dismissed approvals should NOT be counted in OSS repos — PRs require
current approval at merge time.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-27 16:26:08 -07:00
Luke Mino-Altherr
d1c1e52260 Accept dismissed approvals as valid reviews
"Dismiss stale reviews on new commits" changes APPROVED → DISMISSED
when commits are pushed after approval. The review still happened,
so count DISMISSED as a valid approval.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-27 16:25:16 -07:00
Luke Mino-Altherr
1cbb4c880d Restrict detector trigger to master branch only
ComfyUI uses master as its default branch.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-27 16:21:03 -07:00
Luke Mino-Altherr
2ced468ab6 Address CodeRabbit review feedback
- Support both main and master branches (ComfyUI uses master)
- Dynamically detect branch from push context instead of hardcoding
- Fix approval check to use latest review per reviewer (handles dismissed reviews)
- Add UNREVIEWED_MERGES_TOKEN validation before use
- Add concurrency control to prevent duplicate issues
- Fix version comment: v7 -> v7.1.0

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-27 16:14:15 -07:00
Luke Mino-Altherr
863ca98fc2 Add unreviewed merge detector for SOC 2 compliance
Detects PRs merged to main without an approving review and creates
tracking issues in Comfy-Org/unreviewed-merges for audit purposes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-27 15:07:28 -07:00