File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Caller workflow for source repos. Copy this file to
2+ # .github/workflows/detect-unreviewed-merge.yml in each monitored repo.
3+ #
4+ # The detection logic lives in the reusable workflow at
5+ # Comfy-Org/github-workflows. Updating it there propagates to every caller
6+ # on its next run.
7+ #
8+ # What to customize per repo:
9+ # - `branches`: list the default branch(es) of your repo (main, master, or both)
10+ # - `approval-mode`:
11+ # - 'latest-per-reviewer' (default) — for OSS repos with branch protection
12+ # set to "dismiss stale reviews on new commits". A dismissed approval
13+ # does NOT count.
14+ # - 'any-approval' — for private repos without stale-dismissal. Any
15+ # historical APPROVED review counts (approve-then-push-then-merge is OK).
16+ #
17+ # Pin to a full commit SHA with the version as a trailing comment — bare
18+ # tag refs (e.g. @v1) fail pin-validation checks (pinact, zizmor) in
19+ # stricter repos. Bump the SHA via Dependabot/Renovate.
20+
21+ name : Detect Unreviewed Merge
22+
23+ on :
24+ push :
25+ branches : [main, master]
26+
27+ concurrency :
28+ group : detect-unreviewed-merge-${{ github.sha }}
29+ cancel-in-progress : false
30+
31+ permissions :
32+ contents : read
33+ pull-requests : read
34+
35+ jobs :
36+ detect :
37+ uses : Comfy-Org/github-workflows/.github/workflows/detect-unreviewed-merge.yml@4d9cb6b87f953bb7cd69954280e1465fb9bd2040 # v1
38+ with :
39+ approval-mode : latest-per-reviewer
40+ secrets :
41+ UNREVIEWED_MERGES_TOKEN : ${{ secrets.UNREVIEWED_MERGES_TOKEN }}
You can’t perform that action at this time.
0 commit comments