Skip to content

Commit 86a33ba

Browse files
gforsythbdice
andauthored
fix: don't consider latest branch if it has no runs (#66)
Co-authored-by: Bradley Dice <[email protected]>
1 parent b7855a2 commit 86a33ba

File tree

1 file changed

+3
-3
lines changed
  • check_nightly_success/check-nightly-success

1 file changed

+3
-3
lines changed

check_nightly_success/check-nightly-success/check.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ def main(
7171
branch_dict[run["head_branch"]].append(run)
7272

7373
for branch, branch_runs in branch_dict.items():
74-
# Only consider RAPIDS development branches, which are named 'main' or
75-
# have versions like '25.02' (RAPIDS CalVer) or '0.42' (ucxx, ucx-py)
76-
if branch != "main" and not re.match("branch-[0-9]{1,2}.[0-9]{2}", branch):
74+
# Only consider RAPIDS release branches, which have versions like
75+
# '25.02' (RAPIDS) or '0.42' (ucxx, ucx-py).
76+
if not re.match("branch-[0-9]{1,2}.[0-9]{2}", branch):
7777
continue
7878

7979
latest_success[branch] = None

0 commit comments

Comments
 (0)