Skip to content

Commit c9eac51

Browse files
authored
Sync up deleted branches & action assets related cleanup documentation (#31022)
Syncs up docs associated to actions and deleted branch cleanup i.e. in custom/app.example.ini and the config cheat sheet.
1 parent 945dfed commit c9eac51

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

custom/conf/app.example.ini

+11
Original file line numberDiff line numberDiff line change
@@ -2036,6 +2036,17 @@ LEVEL = Info
20362036
;; or only create new users if UPDATE_EXISTING is set to false
20372037
;UPDATE_EXISTING = true
20382038

2039+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2040+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2041+
;; Cleanup expired actions assets
2042+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2043+
;[cron.cleanup_actions]
2044+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2045+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2046+
;ENABLED = true
2047+
;RUN_AT_START = true
2048+
;SCHEDULE = @midnight
2049+
20392050
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
20402051
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
20412052
;; Clean-up deleted branches

docs/content/administration/config-cheat-sheet.en-us.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -975,12 +975,20 @@ Default templates for project boards:
975975
- `SCHEDULE`: **@midnight** : Interval as a duration between each synchronization, it will always attempt synchronization when the instance starts.
976976
- `UPDATE_EXISTING`: **true**: Create new users, update existing user data and disable users that are not in external source anymore (default) or only create new users if UPDATE_EXISTING is set to false.
977977

978-
## Cron - Cleanup Expired Actions Assets (`cron.cleanup_actions`)
978+
#### Cron - Cleanup Expired Actions Assets (`cron.cleanup_actions`)
979979

980980
- `ENABLED`: **true**: Enable cleanup expired actions assets job.
981981
- `RUN_AT_START`: **true**: Run job at start time (if ENABLED).
982982
- `SCHEDULE`: **@midnight** : Cron syntax for the job.
983983

984+
#### Cron - Cleanup Deleted Branches (`cron.deleted_branches_cleanup`)
985+
986+
- `ENABLED`: **true**: Enable deleted branches cleanup.
987+
- `RUN_AT_START`: **true**: Run job at start time (if ENABLED).
988+
- `NOTICE_ON_SUCCESS`: **false**: Set to true to log a success message.
989+
- `SCHEDULE`: **@midnight**: Cron syntax for scheduling deleted branches cleanup.
990+
- `OLDER_THAN`: **24h**: Branches deleted OLDER_THAN ago will be cleaned up.
991+
984992
### Extended cron tasks (not enabled by default)
985993

986994
#### Cron - Garbage collect all repositories (`cron.git_gc_repos`)

0 commit comments

Comments
 (0)