Skip to content

Commit

Permalink
Disable validate_maintainers.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Sep 15, 2021
1 parent 2c7bc5e commit 6070763
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/tools/publish_toolstate.py
Expand Up @@ -299,7 +299,13 @@ def update_latest(
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.
Expand Down

0 comments on commit 6070763

Please sign in to comment.