feat: [CODE-2335]: fix rebase API rule check (#2731)

* fix rebase API rule check
CODE-2402
Marko Gaćeša 2024-09-24 15:38:09 +00:00 committed by Harness
parent 1fd081199e
commit 746e3f0275
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ func (c *Controller) Rebase(
AllowBypass: in.BypassRules,
IsRepoOwner: isRepoOwner,
Repo: repo,
RefAction: protection.RefActionUpdate,
RefAction: protection.RefActionUpdateForce,
RefType: protection.RefTypeBranch,
RefNames: []string{in.HeadBranch},
})