Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

PR board: Stop touching archived items (#59428)

Lena4c0717facc99
diff --git a/script/github-community-pr-board.py b/script/github-community-pr-board.py
index 0ce32b5ca7e..a182de8ac65 100644
--- a/script/github-community-pr-board.py
+++ b/script/github-community-pr-board.py
@@ -784,6 +784,10 @@ if __name__ == "__main__":
print(f"Skipping draft PR #{pr['number']}")
sys.exit(0)
+ if pr.get("state") != "open":
+ print(f"Skipping PR #{pr['number']} (state: {pr.get('state')})")
+ sys.exit(0)
+
print(f"Processing PR #{pr['number']}: action={action}")
if action in ("labeled", "unlabeled"):