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()