fix(ci): treat skipped status as success in auto-approve check #1300

Merged
xiaoxia merged 1 commits from fix/auto-approve-skipped-status into develop 2026-08-08 12:44:03 +08:00
+1 -1
View File
@@ -75,7 +75,7 @@ def check_required_contexts(token, repo, sha, contexts):
for ctx in contexts:
state = statuses.get(ctx, "pending")
if state != "success":
if state not in ("success", "skipped"):
all_success = False
if state == "pending":
any_pending = True