pipelines/scripts
Kumi 3d13ae755a
Some checks failed
/ chores (push) Failing after 16s
Enhance env var handling in chore script
Refactored the chores script to improve the robustness of environment
variable handling. This includes mandatory checks for the FORGEJO_TOKEN
and default values or prompts for missing optional environment
variables. Added assertion to ensure the token is present after
retrieval which, combined with the KeyError, will provide better error
handling. Optional variables now use a fallback value directly in the
get method for concise expression.

Resolves issue with silent failures when required environment settings
are not provided.
2024-02-18 13:21:39 +01:00
..
chores.py Enhance env var handling in chore script 2024-02-18 13:21:39 +01:00