Conversation
- DraftではないPRが作成されたときに自動実行 - komagataとokuramasafumiを3:2の確率で選択 - PR作成者自身は除外
|
Caution Review failedThe pull request is closed. Walkthrough新しいGitHub Actionsワークフロー「Auto Assign Reviewer」が追加されました。プルリクエストがオープンまたはレビュー準備完了時に発火し、ドラフトでない場合のみ実行されます。重み付きランダム選択アルゴリズムでレビュワーを自動割り当てします。 Changes
Sequence Diagram(s)sequenceDiagram
participant PR as Pull Request
participant GitHub Actions
participant Reviewer
participant Author
PR->>GitHub Actions: PRがopenedまたはready_for_review
GitHub Actions->>GitHub Actions: レビュワー候補リストから重み付きランダム選択
GitHub Actions->>Author: 選択レビュワーが作者か確認
alt 選択レビュワー ≠ 作者
GitHub Actions->>Reviewer: レビューリクエスト送信
else 選択レビュワー = 作者
GitHub Actions->>GitHub Actions: 割当スキップ
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~6 minutes Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
概要
DraftではないPull Requestが作成されたときに、自動でレビュワーを設定するGitHub Actionsワークフローを追加しました。
実装内容
.github/workflows/auto-assign-reviewer.ymlを作成opened)およびDraftからReady for reviewに変更時(ready_for_review)にトリガー動作条件
テスト計画
Summary by CodeRabbit