mirror of
https://github.com/harness/drone.git
synced 2025-05-31 11:43:15 +00:00
feat: [CODE-2335]: fix rebase API rule check (#2731)
* fix rebase API rule check
This commit is contained in:
parent
1fd081199e
commit
746e3f0275
@ -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},
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user