Skip to content

Commit 0a15a36

Browse files
committed
feat: add more debugging
1 parent d2b2857 commit 0a15a36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

github/util_v4_branch_protection.go

+1
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ func setPushes(protection BranchProtectionRule, data BranchProtectionResourceDat
579579
// If we have no push actors but restrictions are enabled, return an empty list
580580
// rather than nil to prevent drift
581581
if len(pushActors) == 0 && protection.RestrictsPushes {
582+
log.Printf("[DEBUG] No push actors found, returning empty list")
582583
pushActors = make([]string, 0)
583584
}
584585

0 commit comments

Comments
 (0)