Skip to content

Commit 6070763

Browse files
committed
Disable validate_maintainers.
1 parent 2c7bc5e commit 6070763

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/tools/publish_toolstate.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,13 @@ def update_latest(
299299
if repo:
300300
github_token = os.environ.get('TOOLSTATE_REPO_ACCESS_TOKEN')
301301
if github_token:
302-
validate_maintainers(repo, github_token)
302+
# FIXME: This is currently broken. Starting on 2021-09-15, GitHub
303+
# seems to have changed it so that to list the collaborators
304+
# requires admin permissions. I think this will probably just need
305+
# to be removed since we are probably not going to use an admin
306+
# token, and I don't see another way to do this.
307+
print('maintainer validation disabled')
308+
# validate_maintainers(repo, github_token)
303309
else:
304310
print('skipping toolstate maintainers validation since no GitHub token is present')
305311
# When validating maintainers don't run the full script.

0 commit comments

Comments
 (0)