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:
65
65
if git_token is None :
66
66
rich .print ("\n [bold yellow]Warning:[/bold yellow] GitHub token not found" )
67
67
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>" ))
69
69
rich .print ("Or pass in as a parameter:" )
70
70
rich .print (format_command ("codegen init --token <your-token>" ))
71
71
Original file line number Diff line number Diff line change 4
4
class SecretsConfig (BaseConfig ):
5
5
"""Configuration for various API secrets and tokens.
6
6
7
- Loads from environment variables with the SECRETS_ prefix .
7
+ Loads from environment variables.
8
8
Falls back to .env file for missing values.
9
9
"""
10
10
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def _get_envs(self) -> dict:
31
31
"REPOSITORY_PATH" : str (self .repo_config .repo_path ),
32
32
}
33
33
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
35
35
36
36
envs .update (codebase_envs )
37
37
return envs
Original file line number Diff line number Diff line change 12
12
@pytest .fixture
13
13
def client () -> LinearClient :
14
14
"""Create a Linear client for testing."""
15
- token = os .getenv ("SECRETS_GITHUB_TOKEN " )
15
+ token = os .getenv ("GITHUB_TOKEN " )
16
16
if not token :
17
- pytest .skip ("SECRETS_GITHUB_TOKEN environment variable not set" )
17
+ pytest .skip ("GITHUB_TOKEN environment variable not set" )
18
18
codebase = Codebase .from_repo ("codegen-sh/Kevin-s-Adventure-Game" )
19
19
return codebase
20
20
You can’t perform that action at this time.
0 commit comments