-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete workflow runs #26219
Comments
Is there anyone working on this? I'm interested in implement this functionality. My steps would be create a new function in |
This comment was marked as duplicate.
This comment was marked as duplicate.
I am interested too, although the time I have to work on is very limited. @cassiozareck have you started working on some code? |
Thank you for your work on this. |
I'd like to see this feature too. I'm specifically interested in some kind of cron task to delete runs older than a certain duration (e.g. 1 month or something). They take up tons of space in the database, so it'd be ideal to prune them when they're no longer needed. And of course the GitHub-style "delete run" button would be nice. |
Unfortunately, I won't be able to contribute for the time being. It is not clear to me whether Gitea requires a CLA or not (by reading the "Contributing" page), and I don't want to be considered a "Gitea Author" also for the code I haven't written. I will probably continue to report typos and code that I am sure it won't create a "creative work" as defined by laws. |
I would love to see this feature too. |
Is there currently some progress? |
My database is getting really large after a couple of months of using Gitea. I would also like to delete some of my older workflow runs, preferably using the API. |
As the Issue (go-gitea#26219) mentioned, this is a database-level support to query the obsolete actions runs. I'll temporarily add a draft for further work.
💎 $50 bounty • Frank Villaro-Dixon💎 $30 bounty • Sascha SimonSteps to solve:
Thank you for contributing to go-gitea/gitea! Add a bounty • Share on socials
|
/attempt #26219 Implementation Plan:
I’ll begin with the backend functionality and progress to frontend and testing. |
/attempt #26219 |
i'm add for solve this, please check the PR! |
This is great, thank you! Though I was hoping we could also add a "select" button at the top which when clicked allows you to tick multiple runs and even a "select all" option if you just want to select all items? I'm not sure if that's quite complicated to achieve though. |
hi @Retract1822 im add the multiple delete, can you the pr and give me the feedback again if u have, thanks a lot! :) |
@zsbahtiar Awesome work! Hope to have this feature soon! My history is bloated with failed build attempts 😅 |
/attempt #26219 |
Feature Description
GitHub Actions allows to delete single workflow runs. Would be nice to have this in Gitea Actions too.
My use case would be to delete some obsolete failed runs on branches where the corresponding commit was removed from a branch via a force push.
Details
The text was updated successfully, but these errors were encountered: