Open
Description
Feature Description
#16395 explicitly had a non-goal of applying the unprotected file pattern configuration to changes made via the editor (implicitly, merging in PRs was also a non-goal).
To make the unprotected file pattern feature be consistent, it should apply to all ways that commits can be made to a branch.
"Unprotected file patterns" implemented:
- direct commits via the CLI:
gitea/routers/private/hook_pre_receive.go
Line 295 in 14bb8f7
"Unprotected file patterns" missing:
- commits made in the UI/API (via PR merges):
Line 504 in 14bb8f7
- commits made in the editor:
gitea/services/context/repo.go
Line 111 in 14bb8f7
gitea/routers/web/repo/editor.go
Line 47 in 14bb8f7
Screenshots
No response