forgejo/services/actions
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
..
auth.go
auth_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
cleanup.go Clear up old Actions logs (#31735) 2024-08-04 18:24:10 +02:00
clear_tasks.go
commit_status.go Support pull_request_target event for commit status (#31703) 2024-07-28 09:00:29 +02:00
init.go
interface.go feat(api): enhance Actions Secrets Management API for repository (#30656) 2024-04-28 15:39:01 +02:00
job_emitter.go Improve the handling of jobs.<job_id>.if (#31070) 2024-06-02 09:08:07 +02:00
job_emitter_test.go Improve the handling of jobs.<job_id>.if (#31070) 2024-06-02 09:08:07 +02:00
main_test.go
notifier.go fix(actions): no edited event triggered when a title is changed 2024-07-22 11:25:20 +02:00
notifier_helper.go Enable unparam linter (#31277) 2024-06-16 13:42:58 +02:00
notifier_helper_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
rerun.go
rerun_test.go
schedule_tasks.go
variables.go
workflows.go Fixes git references wrongly transmitted to the action run 2024-06-30 06:17:40 +02:00