mirror of
https://github.com/supabase/supabase.git
synced 2026-06-20 02:27:21 +08:00
fix: disable automatic branching for free projects (#46347)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed an issue where the branch-per-PR setting in GitHub integration connections could have an undefined value. The setting now defaults to a valid state when creating or updating connections, ensuring consistent and predictable behavior. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46347?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Ali Waseem <waseema393@gmail.com>
This commit is contained in:
@@ -219,7 +219,7 @@ export const GitHubIntegrationConnectionForm = ({
|
||||
workdir: data.supabaseDirectory,
|
||||
supabase_changes_only: data.supabaseChangesOnly,
|
||||
branch_limit: Number(data.branchLimit),
|
||||
new_branch_per_pr: data.new_branch_per_pr,
|
||||
new_branch_per_pr: data.new_branch_per_pr ?? false,
|
||||
},
|
||||
})
|
||||
|
||||
@@ -268,7 +268,7 @@ export const GitHubIntegrationConnectionForm = ({
|
||||
workdir: data.supabaseDirectory,
|
||||
supabase_changes_only: data.supabaseChangesOnly,
|
||||
branch_limit: Number(data.branchLimit),
|
||||
new_branch_per_pr: data.new_branch_per_pr,
|
||||
new_branch_per_pr: data.new_branch_per_pr ?? false,
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user