forgejo/models/migrations/v1_23
Jason Song 0c40cff9a4
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>
(cherry picked from commit 687c1182482ad9443a5911c068b317a91c91d586)

Conflicts:
	custom/conf/app.example.ini
	routers/web/repo/actions/view.go
  trivial context conflict
2024-08-04 18:24:10 +02:00
..
main_test.go [CHORE] Move test related function to own package 2024-07-14 17:00:49 +02:00
v299.go Prevent simultaneous editing of comments and issues (#31053) 2024-06-02 16:26:54 +02:00
v300.go Allow force push to protected branches (#28086) (migration v300) 2024-08-04 18:24:10 +02:00
v301.go add skip secondary authorization option for public oauth2 clients (#31454) (migration v301) 2024-08-04 18:24:10 +02:00
v302.go Clear up old Actions logs (#31735) 2024-08-04 18:24:10 +02:00