From 46a657bb58da3ec14eede758e1e3e32bc0c496f4 Mon Sep 17 00:00:00 2001 From: Timur Davydov Date: Sat, 21 Mar 2026 10:10:56 +0200 Subject: [PATCH] fix: GITHUB_TOKEN --- codefox/cli/scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codefox/cli/scan.py b/codefox/cli/scan.py index 127c26a..13c4d1e 100644 --- a/codefox/cli/scan.py +++ b/codefox/cli/scan.py @@ -22,7 +22,7 @@ def __init__(self, model: type[BaseAPI], args: dict[str, Any]): self.github_bot = None self.gitlab_bot = None - if self.args.get("ci", False) and os.getenv("GITHUB_BOT"): + if self.args.get("ci", False) and os.getenv("GITHUB_TOKEN"): self.github_bot = GitHubBot() elif self.args.get("ci", False) and os.getenv("GITLAB_TOKEN"): self.gitlab_bot = GitLabBot()