Create boilerplate template from example #1
@ -77,7 +77,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
args = parser.parse_args()
|
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:
|
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 GITHUB_TOKEN or supply a token with --allspice_token <your_token>. Generate a token: https://hub.allspice.io/user/settings/applications")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user