Skip to content

Commit

Permalink
sync_known_issues.py: enforce authentication token
Browse files Browse the repository at this point in the history
SQUAD rate-limits API requests now, so not having the authentication token won't work anymore.
  • Loading branch information
chaws committed Apr 30, 2024
1 parent 0ba6fe7 commit 3e971c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync_known_issues.py
Expand Up @@ -469,7 +469,7 @@ def main():
logging.root.removeHandler(handler)
logging.basicConfig(level=logging.DEBUG, format=FORMAT)

if not args.dry_run and "QA_REPORTS_KNOWN_ISSUE_TOKEN" not in os.environ:
if "QA_REPORTS_KNOWN_ISSUE_TOKEN" not in os.environ:
logger.error("Error: QA_REPORTS_KNOWN_ISSUE_TOKEN not set in environment")
sys.exit(1)

Expand Down

0 comments on commit 3e971c7

Please sign in to comment.