Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe workflow now handles pull requests when they are opened or reopened. It declares empty workflow permissions and adds comments about project access and pull request code execution. ChangesProject workflow
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The workflow can add opened or reopened pull requests to the project without running contributor code. No material merge risk is established by this change. Architecture SummaryArchitecture risk: 🔵 Low · up to The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency. Changed systems: None identified. Architecture concerns Review detailsBefore / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fork pull requests fail the project-board workflow with
Input required and not supplied: github-token, as seen on #176. The workflow usespull_request, which does not receive the base repository'sPROJECT_PATfor fork contributions. Recent same-repository PR and issue runs succeeded.Use
pull_request_targetfor this metadata-only action so GitHub runs the base repository's workflow with its existing project token. The job does not check out or execute contributor code, and its implicitGITHUB_TOKENreceives no permissions. Keep the issue-opened behavior and include PR reopening so existing contributions can trigger project addition after this fix lands.Validated with actionlint 1.7.12 and
git diff --check. Confirmed thatactions/add-to-project@v1.0.2reads the issue/PR payload and uses the explicitly supplied token. Live verification requires merging this workflow into the base repository; retrying the existing forkpull_requestrun with its old workflow will still withhold the secret.GitHub documents the base-context behavior and restrictions here: https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request_target
AI-assisted — Tool: Codex; model: OpenAI/unavailable; version: unavailable.
Summary by CodeRabbit