プルリクエスト(PR)— またはマージリクエスト — は、あるブランチから別のブランチへの変更をマージするためのリクエストであり、コードレビュー、議論、および統合前の自動チェックを行う場所を提供します。PRは最新の協調開発とコード品質の中心です。
プルリクエストとは
A PR proposes merging a branch (e.g. a feature) into another (e.g. main):
→ shows the DIFF (what changed), a description, and discussion
→ reviewers comment, request changes, or approve
→ CI runs automated checks (tests, linting, builds) on the PR
→ once approved + checks pass → MERGE into the target branch
→ It's a gate and collaboration point before code is integrated.
PRのワークフロー
1. Create a feature branch; make commits; push it
2. Open a PR (feature → main) with a clear description of what/why
3. Automated CHECKS run (tests, lint, build) — must pass
4. REVIEWERS examine the code: comment, suggest, approve, or request changes
5. Author addresses feedback (more commits)
6. Approved + checks green → MERGE (merge commit, squash, or rebase)
