Create boilerplate template from example #1
@ -79,7 +79,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
auth_token = os.environ.get("ALLSPICE_TOKEN") or args.allspice_token
|
auth_token = os.environ.get("ALLSPICE_TOKEN") or args.allspice_token
|
||||||
if auth_token is None:
|
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")
|
print("Please set the environment variable ALLSPICE_TOKEN or supply a token with --allspice_token <your_token>. Generate a token: https://hub.allspice.io/user/settings/applications")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
# Test connection to AllSpice API
|
# Test connection to AllSpice API
|
||||||
|
Loading…
Reference in New Issue
Block a user