File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
tests/integration/extension Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def _validate(self) -> None:
6565 if git_token is None :
6666 rich .print ("\n [bold yellow]Warning:[/bold yellow] GitHub token not found" )
6767 rich .print ("To enable full functionality, please set your GitHub token:" )
68- rich .print (format_command ("export SECRETS_GITHUB_TOKEN =<your-token>" ))
68+ rich .print (format_command ("export GITHUB_TOKEN =<your-token>" ))
6969 rich .print ("Or pass in as a parameter:" )
7070 rich .print (format_command ("codegen init --token <your-token>" ))
7171
Original file line number Diff line number Diff line change 44class SecretsConfig (BaseConfig ):
55 """Configuration for various API secrets and tokens.
66
7- Loads from environment variables with the SECRETS_ prefix .
7+ Loads from environment variables.
88 Falls back to .env file for missing values.
99 """
1010
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def _get_envs(self) -> dict:
3131 "REPOSITORY_PATH" : str (self .repo_config .repo_path ),
3232 }
3333 if self .git_access_token is not None :
34- codebase_envs ["SECRETS_GITHUB_TOKEN " ] = self .git_access_token
34+ codebase_envs ["GITHUB_TOKEN " ] = self .git_access_token
3535
3636 envs .update (codebase_envs )
3737 return envs
Original file line number Diff line number Diff line change 1212@pytest .fixture
1313def client () -> LinearClient :
1414 """Create a Linear client for testing."""
15- token = os .getenv ("SECRETS_GITHUB_TOKEN " )
15+ token = os .getenv ("GITHUB_TOKEN " )
1616 if not token :
17- pytest .skip ("SECRETS_GITHUB_TOKEN environment variable not set" )
17+ pytest .skip ("GITHUB_TOKEN environment variable not set" )
1818 codebase = Codebase .from_repo ("codegen-sh/Kevin-s-Adventure-Game" )
1919 return codebase
2020
You can’t perform that action at this time.
0 commit comments