Skip to content

Commit 601d67e

Browse files
authored
Update poll_quick_ci.py
1 parent ccc9dda commit 601d67e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/helpers/poll_quick_ci.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ def main():
1313
polling = True
1414
poll_count = 0
1515
poll_max = 300
16-
check_passed = False
1716
while (polling):
1817
for line in subprocess.run(f"gh pr checks -R project-chip/connectedhomeip {args.pr}", stdout=subprocess.PIPE, shell=True).stdout.decode("utf-8").splitlines():
1918
if args.check in line:
2019
print(line)
2120
if "pending" in line:
2221
if poll_count == poll_max:
23-
polling = false
22+
polling = False
2423
else:
2524
poll_count += 1
2625
time.sleep(1)

0 commit comments

Comments
 (0)