Skip to content

Commit 5269485

Browse files
authored
[AUTOREVERT] Ignore issues with ci:sev on pytorch for disabling autorevert (#7344)
title is self-explanatory :) please only merge/release after pytorch/pytorch#165434 have been merged
1 parent f563b66 commit 5269485

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

aws/lambda/pytorch-auto-revert/pytorch_auto_revert/autorevert_circuit_breaker.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,6 @@ def check_autorevert_disabled(repo_full_name: str = "pytorch/pytorch") -> bool:
3838
)
3939
should_disable = True
4040

41-
sev_issues = repo.get_issues(state="open", labels=["ci: sev"])
42-
for issue in sev_issues:
43-
logger.info(
44-
f"Found open issue #{issue.number} with 'ci: sev' label "
45-
f"created by user {issue.user.login}. "
46-
f"Autorevert circuit breaker is ACTIVE."
47-
)
48-
should_disable = True
49-
5041
if should_disable:
5142
return True
5243

0 commit comments

Comments
 (0)