Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"_comment": "DO NOT EDIT THIS FILE. To override these settings, use .claude/settings.local.json instead.",
"env": {
"CLAUDE_CODE_ENABLE_TELEMETRY": "0",
"DISABLE_TELEMETRY": "1",
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/auto-assign-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ jobs:
} else {
console.log(`${creator} is not on technical writers team, skipping assignment`);
}

24 changes: 23 additions & 1 deletion .github/workflows/check-claude-settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,33 @@ on:
jobs:
check-claude-config:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Check for Claude configuration changes
uses: actions/github-script@v9
with:
script: |
const techWriters = [
'ConnorLand',
'Karuna-Mendix',
'MariaShaposhnikova',
'MarkvanMents',
'NicoletaComan',
'OlufunkeMoronfolu',
'Yiyun333',
'dbreseman',
'katarzyna-koltun-mx',
'quinntracy'
];

const author = context.payload.pull_request.user.login;

if (techWriters.includes(author)) {
console.log(`${author} is a Technical Writer — Claude configuration change approved.`);
return;
}

const comment = `⚠️ **Claude Configuration Warning**

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.**
Expand All @@ -34,7 +56,7 @@ jobs:
\`\`\`
`;

github.rest.issues.createComment({
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
Expand Down