-
Notifications
You must be signed in to change notification settings - Fork 133
Exclude 404.html from lychee link checks #1265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -15,6 +15,11 @@ jobs: | |||||
| id-token: write | ||||||
|
|
||||||
| steps: | ||||||
| - name: Install unzip (required by bun setup) | ||||||
| run: | | ||||||
| sudo apt-get update | ||||||
| sudo apt-get install -y unzip | ||||||
|
|
||||||
| # IMPORTANT: checkout BASE repo only (safe on forks) | ||||||
| - name: Checkout base repo (safe) | ||||||
| uses: actions/checkout@v4 | ||||||
|
|
@@ -24,7 +29,6 @@ jobs: | |||||
| - name: Run Claude Code Review | ||||||
| uses: anthropics/claude-code-action@v1 | ||||||
| env: | ||||||
| # Ensure the action can execute the Claude CLI it installs. | ||||||
| PATH: /home/runner/.local/bin:${{ env.PATH }} | ||||||
| with: | ||||||
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | ||||||
|
|
@@ -35,27 +39,10 @@ jobs: | |||||
|
|
||||||
| claude_args: > | ||||||
| --dangerously-skip-permissions | ||||||
| --dangerouslyDisableSandbox | ||||||
| --max-turns 80 | ||||||
| --allowedTools | ||||||
| "Bash(gh pr view:*)" | ||||||
| "Bash(gh pr diff:*)" | ||||||
| "Bash(gh pr comment:*)" | ||||||
| "Bash(gh api:*)" | ||||||
| "Bash(cat:*)" | ||||||
| "Bash(ls:*)" | ||||||
| "Bash(find:*)" | ||||||
| "Bash(grep:*)" | ||||||
| "Bash(sed:*)" | ||||||
| "Bash(awk:*)" | ||||||
| "Bash(head:*)" | ||||||
| "Bash(tail:*)" | ||||||
| "Bash(wc:*)" | ||||||
| "Bash(sort:*)" | ||||||
| "Bash(uniq:*)" | ||||||
| "Bash(cut:*)" | ||||||
| "Bash(xargs:*)" | ||||||
| "Bash(jq:*)" | ||||||
| "Bash(python3:*)" | ||||||
| "Bash" | ||||||
|
Comment on lines
18
to
+45
|
||||||
| "Bash" | |
| "Bash(ls:*)" "Bash(cat:*)" "Bash(find:*)" "Bash(head:*)" "Bash(xargs:*)" "Bash(gh pr view:*)" "Bash(gh pr diff:*)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding the
--dangerouslyDisableSandboxflag is a security concern. This flag disables the sandbox security mechanism that isolates code execution.Before enabling this flag, you should:
pull_request_targetwhich already has security considerationsThis is particularly important since the workflow runs on
pull_request_target, which has access to repository secrets and write permissions.