fix(ci): treat skipped status as success in auto-approve check #1300
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user