about summary refs log tree commit diff
path: root/src/tools/publish_toolstate.py
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2021-09-15 09:25:06 -0700
committerEric Huss <eric@huss.org>2021-09-15 09:25:06 -0700
commit6070763bc7c864a1b70867cef968da5629e821cd (patch)
tree37cb02f51e45f64a408a672e486de0da65798339 /src/tools/publish_toolstate.py
parent2c7bc5e33c25e29058cbafefe680da8d5e9220e9 (diff)
downloadrust-6070763bc7c864a1b70867cef968da5629e821cd.tar.gz
rust-6070763bc7c864a1b70867cef968da5629e821cd.zip
Disable validate_maintainers.
Diffstat (limited to 'src/tools/publish_toolstate.py')
-rwxr-xr-xsrc/tools/publish_toolstate.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tools/publish_toolstate.py b/src/tools/publish_toolstate.py
index f97914b1e97..04a1d257bc0 100755
--- a/src/tools/publish_toolstate.py
+++ b/src/tools/publish_toolstate.py
@@ -299,7 +299,13 @@ try:
     if repo:
         github_token = os.environ.get('TOOLSTATE_REPO_ACCESS_TOKEN')
         if github_token:
-            validate_maintainers(repo, github_token)
+            # FIXME: This is currently broken. Starting on 2021-09-15, GitHub
+            # seems to have changed it so that to list the collaborators
+            # requires admin permissions. I think this will probably just need
+            # to be removed since we are probably not going to use an admin
+            # token, and I don't see another way to do this.
+            print('maintainer validation disabled')
+            # validate_maintainers(repo, github_token)
         else:
             print('skipping toolstate maintainers validation since no GitHub token is present')
         # When validating maintainers don't run the full script.