compatibility Updated the environment variable for authentication to align with the pipeline's token-naming conventions, improving integration and consistency across our automated workflows. Error messaging reflects this change for clarity during troubleshooting.
This commit is contained in:
parent
e39eca5352
commit
bae80c59fe
1 changed files with 2 additions and 2 deletions
|
@ -10,9 +10,9 @@ from datetime import datetime, timedelta
|
|||
FORGEJO_URL = os.environ.get("FORGEJO_URL", "https://git.private.coffee")
|
||||
|
||||
try:
|
||||
TOKEN = os.environ["FORGEJO_TOKEN"]
|
||||
TOKEN = os.environ["PIPELINES_TOKEN"]
|
||||
except KeyError:
|
||||
logging.error("FORGEJO_TOKEN environment variable is required")
|
||||
logging.error("PIPELINES_TOKEN environment variable is required")
|
||||
exit(1)
|
||||
|
||||
ASSIGNEES = os.environ.get("CHORES_ASSIGNEES", "").split()
|
||||
|
|
Loading…
Reference in a new issue