Skip to content

Commit 708319e

Browse files
committed
Comment about adjusting existing repo hooks added
Fixes: 6801919 Related: #18485 (review) Author-Change-Id: IB#1115251
1 parent 8a0eb58 commit 708319e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

custom/conf/app.example.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ INTERNAL_TOKEN=
367367
;; By modifying the Gitea database, users can gain Gitea administrator privileges.
368368
;; It also enables them to access other resources available to the user on the operating system that is running the Gitea instance and perform arbitrary actions in the name of the Gitea OS user.
369369
;; WARNING: This maybe harmful to you website or your operating system.
370+
;; WARNING: Setting this to true does not change existing hooks in git repos; adjust it before if necessary.
370371
;DISABLE_GIT_HOOKS = true
371372
;;
372373
;; Set to true to disable webhooks feature.

docs/content/doc/advanced/config-cheat-sheet.en-us.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ Certain queues have defaults that override the defaults set in `[queue]` (this o
497497
It also enables them to access other resources available to the user on the operating system that is running the
498498
Gitea instance and perform arbitrary actions in the name of the Gitea OS user.
499499
This maybe harmful to you website or your operating system.
500+
Setting this to true does not change existing hooks in git repos; adjust it before if necessary.
500501
- `DISABLE_WEBHOOKS`: **false**: Set to `true` to disable webhooks feature.
501502
- `ONLY_ALLOW_PUSH_IF_GITEA_ENVIRONMENT_SET`: **true**: Set to `false` to allow local users to push to gitea-repositories without setting up the Gitea environment. This is not recommended and if you want local users to push to Gitea repositories you should set the environment appropriately.
502503
- `IMPORT_LOCAL_PATHS`: **false**: Set to `false` to prevent all users (including admin) from importing local path on server.

0 commit comments

Comments
 (0)