Skip to content

Commit 0ce91cc

Browse files
authored
Merge branch 'master' into fix/time-stepping-order
2 parents e893fef + 9652f08 commit 0ce91cc

3 files changed

Lines changed: 16 additions & 28 deletions

File tree

.github/workflows/claude-code-review.yml

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
id-token: write
1616

1717
steps:
18+
- name: Install unzip (required by bun setup)
19+
run: |
20+
sudo apt-get update
21+
sudo apt-get install -y unzip
22+
1823
# IMPORTANT: checkout BASE repo only (safe on forks)
1924
- name: Checkout base repo (safe)
2025
uses: actions/checkout@v4
@@ -23,39 +28,20 @@ jobs:
2328

2429
- name: Run Claude Code Review
2530
uses: anthropics/claude-code-action@v1
26-
env:
27-
# Ensure the action can execute the Claude CLI it installs.
28-
PATH: /home/runner/.local/bin:${{ env.PATH }}
2931
with:
3032
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
3133
github_token: ${{ github.token }}
3234

3335
plugin_marketplaces: "https://github.com/anthropics/claude-code.git"
3436
plugins: "code-review@claude-code-plugins"
3537

38+
# NOTE: do NOT use --dangerouslyDisableSandbox (it can crash the CLI).
39+
# This flag is for non-interactive CI runs (bypasses approval prompts).
3640
claude_args: >
3741
--dangerously-skip-permissions
38-
--max-turns 80
42+
--max-turns 10
3943
--allowedTools
40-
"Bash(gh pr view:*)"
41-
"Bash(gh pr diff:*)"
42-
"Bash(gh pr comment:*)"
43-
"Bash(gh api:*)"
44-
"Bash(cat:*)"
45-
"Bash(ls:*)"
46-
"Bash(find:*)"
47-
"Bash(grep:*)"
48-
"Bash(sed:*)"
49-
"Bash(awk:*)"
50-
"Bash(head:*)"
51-
"Bash(tail:*)"
52-
"Bash(wc:*)"
53-
"Bash(sort:*)"
54-
"Bash(uniq:*)"
55-
"Bash(cut:*)"
56-
"Bash(xargs:*)"
57-
"Bash(jq:*)"
58-
"Bash(python3:*)"
44+
"Bash"
5945
6046
prompt: |
6147
You are running in pull_request_target.
@@ -71,7 +57,7 @@ jobs:
7157
3) find .claude/rules -maxdepth 1 -name "*.md" -print | head -n 10 | xargs -I{} cat "{}" 2>/dev/null || true
7258
4) gh pr view ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --json title,body,files,changedFiles,additions,deletions,headRefOid
7359
5) gh pr diff ${{ github.event.pull_request.number }} --repo ${{ github.repository }}
74-
6) Post ONE top-level PR comment, then STOP.
60+
6) Post ONE top-level PR comment titled "Claude Code Review", then STOP.
7561
7662
Output format:
7763
- Head SHA
@@ -80,7 +66,6 @@ jobs:
8066
- Findings with file + line numbers when possible
8167
- If no issues: 0–3 improvement opportunities (only if confident)
8268
83-
Post ONE top-level PR comment titled "Claude Code Review".
8469
If posting is blocked, write the full review to the GitHub Actions job summary instead, then STOP.
8570
8671
additional_permissions: |

.lychee.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ accept = ["200", "429", "502", "504"]
1616

1717
verbose = "error"
1818

19-
# Exclude sitemap file from scanning (it contains pre-publish production URLs)
20-
exclude_path = ["sitemap\\.xml"]
19+
# Exclude files from scanning
20+
exclude_path = [
21+
"sitemap\\.xml", # Contains pre-publish production URLs
22+
"404\\.html", # Root-relative links (/, /documentation/) can't resolve in local checks
23+
]
2124

2225
# Exclude URLs that fail due to external issues (broken SSL, pre-deploy only, etc.)
2326
exclude = [

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ source ./mfc.sh load -c p -m c # Load Phoenix CPU modules
5151

5252
# Other
5353
./mfc.sh validate case.py # Validate case file without running
54-
./mfc.sh params <query> # Search ~3,400 case parameters
54+
./mfc.sh params <query> # Search 3,400 case parameters
5555
./mfc.sh clean # Remove build artifacts
5656
./mfc.sh new <name> # Create new case from template
5757
```

0 commit comments

Comments
 (0)