From 910697980fff00ed78e467810d121157ac5a89a5 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Mon, 13 May 2024 19:29:13 +0100 Subject: [PATCH] Remove default value for GITHUB_TOKEN to avoid triggering secret scanning --- scripts/update_licenses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_licenses.py b/scripts/update_licenses.py index 562c3130..2b2f49b7 100644 --- a/scripts/update_licenses.py +++ b/scripts/update_licenses.py @@ -8,7 +8,7 @@ from github import Github CURRENT_FILE = Path(__file__) ROOT = CURRENT_FILE.parents[1] -GITHUB_TOKEN = os.getenv("GITHUB_TOKEN", None) +GITHUB_TOKEN = os.getenv("GITHUB_TOKEN") def main() -> None: