Switch CI PR review to swarm-pr-review and fix /tmp file access (#2623)
## Summary
- Switch `claude-pr-review` workflow from `multi-pr-review` to
`swarm-pr-review` skill
- Add warnings in both skill SKILL.md files to save intermediate files
to the working directory (`./pr_diff.patch`) instead of `/tmp/`, which
is blocked by `claude-code-action` security sandboxing in CI
- Document the CI file access restriction in `rules/git-workflow.md`
Fixes the `cat in '/tmp/pr_*_diff.patch' was blocked` error:
https://github.com/dyad-sh/dyad/actions/runs/21896099089?pr=2524
#skip-bugbot
## Test plan
- [ ] Verify PR review workflow triggers on a new PR and doesn't hit the
`/tmp/` file access error
- [ ] Confirm the swarm-pr-review skill posts a review summary comment
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2623"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Switched the CI PR review workflow to use swarm-pr-review and fixed the
/tmp file access block in claude-code-action. Updated skill docs and git
workflow rules to save PR diffs in the repo working directory (e.g.,
./pr_diff.patch) instead of /tmp, resolving the “cat in
'/tmp/pr_*_diff.patch' was blocked” error.
<sup>Written for commit 449c7b02b4bacad12a659177d1f6a4db949fc7ab.
Summary will update on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
Co-authored-by:
Claude Opus 4.6 <noreply@anthropic.com>
正在显示
请
注册
或者
登录
后发表评论