-
Notifications
You must be signed in to change notification settings - Fork 759
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
[feat req] Allow retention-days
to be 0
#290
Comments
Can't believe it, the original issue was created 3 years ago and it still has no official action |
@praenubilus I share your disbelief. To be completely honest I wouldn't be surprised if this is "by design" or fix would be very hard to approve in github's chain of command because people would stop polluting their storage with useless artifacts just to share data between jobs (build -> test -> deploy) it would decrease amount of people
but lets not jump to conclusions and wait for feedback. |
@kolpav I hope the day it comes out I am still alive |
I was releasing nodejs application binary with GitHub workflow for different os and architecture. In the initial stage, I was testing different workflow patterns and quickly hit the quota limit. I don't really need the artifacts after the workflow is run and the artifacts are released. It's disappointing to see that it does not have the delete option when the workflow si complete. |
Currently we have to manually delete the artifacts after every run. This would be so much easier if we could just set them to be removed after the run automatically. |
This seems like it should've been implemented in the first place. I've been constantly reaching artifact storage quota errors. 😞 |
here is an example that I just got to work for deletion after a run is done. This is triggered from the workflow that made the artifact
|
@DPatrickBoyd I linked your comment if you don't mind :) https://github.com/kolpav/purge-artifacts-action/blob/master/README.md |
not a problem! glad to help anyone else out, I have been saved so many times in the past by a random github comment so trying to return the favor |
bump |
bump! |
What would you like to be added?
Allow
retention-days
to be0
meaning do not store artifacts after workflow run.Why is this needed?
These solutions might be proposed but actually doesn't solve the problem with few points why I think they don't.
Use UI
Use API
Use action from marketplace
This issue is duplicate
The text was updated successfully, but these errors were encountered: