We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54ce61d commit 03aad7fCopy full SHA for 03aad7f
ui/src/apps/pr-write/App.tsx
@@ -396,6 +396,7 @@ function CreatePRApp() {
396
if (!owner || !repo) { setError("Repository information not available"); return; }
397
if (!baseBranch) { setError("Base branch is required"); return; }
398
if (!headBranch) { setError("Head branch is required"); return; }
399
+ if (baseBranch === headBranch) { setError("Base and head branches cannot be the same"); return; }
400
401
setIsSubmitting(true);
402
setError(null);
0 commit comments