You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I activated protected branch with white list access :
When I force push, I have the following message :
remote: Gitea: branch master is protected from force push
To https://try.gitea.io/gigix/test.git
! [remote rejected] 4e308e02f18c0a51c687b32ff9699949e16204c4 -> master (pre-receive hook declined)
error: impossible de pousser des références vers 'https://try.gitea.io/gigix/test.git'
Is there an issue with withite list on protected branch ?
The text was updated successfully, but these errors were encountered:
Whitelist allows certain users regular pushes, it does not allow force pushes.
Prevoiusly protected branch push whitelist allowed wide range of operation, even branch deletion, but this was fixed in #4607 and now it does allow what is said in the description.
If I need to enable merge whitelist, I must enable Branch protection.
Branch protection can be done by custom Git scripts hook. But if I want to code custom Git scripts hook for activate protected branch with force push then I can't enable merge whitelist without activated branch protection.
[x]
):Description
I activated protected branch with white list access :
When I force push, I have the following message :
Is there an issue with withite list on protected branch ?
The text was updated successfully, but these errors were encountered: