You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You've modified Claude Code configuration files. These files contain the shared configuration for all contributors. Please revert this change if unintended. **ONLY modify these files if you need to change shared configurations that apply to everyone and have discussed this change with the TW team.**
20
+
21
+
To override the Claude settings locally, use \`.claude/settings.local.json\` instead. This local file is gitignored and overrides the repo default.
22
+
23
+
**For example, if you're changing AWS_PROFILE:**
24
+
The default profile name is \`my-sandbox\`. If your AWS profile has a different name, override it locally instead of changing the shared file.
25
+
26
+
Create or edit \`.claude/settings.local.json\` in the repo root and include the following lines:
27
+
28
+
\`\`\`json
29
+
{
30
+
"env": {
31
+
"AWS_PROFILE": "your-sandbox-name"
32
+
}
33
+
}
34
+
\`\`\`
35
+
`;
36
+
37
+
github.rest.issues.createComment({
38
+
issue_number: context.issue.number,
39
+
owner: context.repo.owner,
40
+
repo: context.repo.repo,
41
+
body: comment
42
+
});
43
+
44
+
core.setFailed('Claude configuration was modified - see comment for guidance');
Copy file name to clipboardExpand all lines: CLAUDE.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,3 +200,7 @@ If you are unsure whether a command is safe to run, **do not run it**. Instead,
200
200
- Run tests after making changes: see project-specific test commands
201
201
- Do not add dependencies without asking
202
202
- Do not refactor code beyond what was requested
203
+
204
+
### Claude Code Settings Management
205
+
206
+
For personal configuration changes (AWS_PROFILE, etc.), always suggest `.claude/settings.local.json` instead of modifying `.claude/settings.json`. The local file is gitignored and overrides shared settings.
0 commit comments