[llvm] workflows: Add a job for auditing release assets (PR #92829)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 15:28:04 PDT 2024


================
@@ -0,0 +1,40 @@
+import github
+import sys
+
+token = sys.argv[1]
+
+gh = github.Github(login_or_token=token)
+repo = gh.get_repo('llvm/llvm-project')
+
+uploaders = set([
+    'DimitryAndric',
+    'stefanp-ibm',
+    'lei137',
+    'omjavaid',
+    'nicolerabjohn',
+    'amy-kwan',
+    'mandlebug',
+    'zmodem',
+    'androm3da',
+    'tru',
+    'rovka',
+    'rorth',
+    'quinnlp',
+    'kamaub',
+    'abrisco',
+    'jakeegan',
+    'maryammo',
+    'tstellar',
+    'github-actions[bot]'
+])
+
+for release in repo.get_releases():
----------------
boomanaiden154 wrote:

Nit: Probably doesn't really matter, but this could probably be wrapped in a function that is called from a `if __name__ == '__main__'` block.

https://github.com/llvm/llvm-project/pull/92829


More information about the llvm-commits mailing list