Update env var name to ALLSPICE_TOKEN

This commit is contained in:
Daniel Lindmark 2024-07-21 19:00:18 -05:00
parent b0fe5488ec
commit 5ecd3551c9

View File

@ -77,7 +77,7 @@ if __name__ == "__main__":
args = parser.parse_args()
auth_token = os.environ.get("GITHUB_TOKEN") or args.allspice_token
auth_token = os.environ.get("ALLSPICE_TOKEN") or args.allspice_token
if auth_token is None:
print("Please set the environment variable GITHUB_TOKEN or supply a token with --allspice_token <your_token>. Generate a token: https://hub.allspice.io/user/settings/applications")
exit(1)