Skip to content

Commit a52ceb1

Browse files
committed
add exit when more than two milestones found
1 parent a9a212e commit a52ceb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/update_release_pr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def get_github_prs(token: str, owner: str, repo: str, label: str = "", state: st
3434

3535
if len(milestones) > 2:
3636
print("More than two milestones found, unable to determine the milestone required.")
37+
exit(1)
3738

3839
# milestones.pop()
3940
for ms in milestones:

0 commit comments

Comments
 (0)