Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 12

Delete artifacts

 Since now limits and pricing for storage were introduced, it would make sense to have some feature to delete artifacts for old builds.

Also in some cases you want artifacts to persist only for the duration of the workflow, as a means to share files between jobs, and in this case you don't need these artifacts afterwards. So it would be good to have some `artifact-cleanup` action, which would remove created artifacts for that workflow.

11 Replies
Community Manager
Message 2 of 12

Re: Delete artifacts

Hi @paulius-p,

 

Thanks for being here! As of now there's not a way to delete artifacts from the UI nor is there a way to store artifacts for less than 90 or 30 days. We've passed your feedback and information on to the Actions product team for future consideration.


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 2
Message 3 of 12

Re: Delete artifacts

Hi @AndreaGriffiths11 
My team is now blocked because we've reacthed the artifacts limit.
Is there a way to delete artifacts via the Github API ?
I looked at the Github Docs  and couldn't find any documentation on actions.

Copilot Lvl 2
Message 4 of 12

Re: Delete artifacts

Hey @AndreaGriffiths11 ,

 

My team is also being blocked, with all our pipelines (that uses artifacts) breaking. Seems to me as a big issue because I'm getting blocked and there seems no way for us to move forward.

Is the engineering team able to give us a way to delete these objects (even it means purging it all at once), or temporarily disable this rule enforcement until they are ready?

 

Thanks!

Copilot Lvl 2
Message 5 of 12

Re: Delete artifacts

+1 We are also blocked.

Ground Controller Lvl 1
Message 6 of 12

Re: Delete artifacts

Hi, we moved all our CI to Github actions and took a paid plan and now we're blocked because we can't delete artifacts. It's fair to ask to pay for storage, but there needs to be a way to delete files, like any storage service. 

GitHub Staff
Message 7 of 12

Re: Delete artifacts

Thanks for sharing your problems with this. The team is working on a solution for it.

Ground Controller Lvl 1
Message 8 of 12

Re: Delete artifacts

+1 for this feature request.  I also only need artifacts to last the duration of the workflow, and am now blocked because I've reached the limit.

Ground Controller Lvl 1
Message 9 of 12

Re: Delete artifacts

Well, we are a company so we are just raising the spending limit but we feel a bit cheated :)

GitHub Staff
Message 10 of 12

Re: Delete artifacts

UI + API for this will be available soon.