From: Sebastián Ramírez Date: Tue, 28 Jan 2025 22:30:15 +0000 (+0000) Subject: ♻️ Fix `notify_translations.py` empty env var handling for PR label events vs workflo... X-Git-Tag: 0.115.8~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0a2b24653b2b0e2a4753a1e239013b26fa1516b1;p=thirdparty%2Ffastapi%2Ffastapi.git ♻️ Fix `notify_translations.py` empty env var handling for PR label events vs workflow_dispatch (#13272) --- diff --git a/scripts/notify_translations.py b/scripts/notify_translations.py index 7a43019a6e..c300624db2 100644 --- a/scripts/notify_translations.py +++ b/scripts/notify_translations.py @@ -176,6 +176,8 @@ class AllDiscussionsResponse(BaseModel): class Settings(BaseSettings): + model_config = {"env_ignore_empty": True} + github_repository: str github_token: SecretStr github_event_path: Path