]> source.dussan.org Git - gitea.git/commit
Clear up old Actions logs (#31735)
authorJason Song <i@wolfogre.com>
Fri, 2 Aug 2024 00:42:08 +0000 (08:42 +0800)
committerGitHub <noreply@github.com>
Fri, 2 Aug 2024 00:42:08 +0000 (00:42 +0000)
commit687c1182482ad9443a5911c068b317a91c91d586
treecd47e85e58f7cd985aa1fe3ca0d64cd8b22724e2
parente3678356e1c0e50de96a3a142d703c8797c1476f
Clear up old Actions logs (#31735)

Part of #24256.

Clear up old action logs to free up storage space.

Users will see a message indicating that the log has been cleared if
they view old tasks.

<img width="1361" alt="image"
src="https://github.com/user-attachments/assets/9f0f3a3a-bc5a-402f-90ca-49282d196c22">

Docs: https://gitea.com/gitea/docs/pulls/40

---------

Co-authored-by: silverwind <me@silverwind.io>
custom/conf/app.example.ini
models/actions/task.go
models/migrations/migrations.go
models/migrations/v1_23/v302.go [new file with mode: 0644]
modules/setting/actions.go
options/locale/locale_en-US.ini
routers/web/repo/actions/view.go
services/actions/cleanup.go
services/cron/tasks_actions.go