-
Notifications
You must be signed in to change notification settings - Fork 104
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
Add feature to set artifact retention period #903
Comments
Thanks for the report, and for the PR. In general it would be nice to avoid adding another configuration option for this. I think the ideal behaviour would be to remove the dependency graph artifact once it has been successfully uploaded to the Dependency Submission API. This would avoid the need for a user to configure anything and avoid storing the artifact unnecessarily. |
Then I will set it permanently to 1 |
Hi @bigdaz Could you take a look at the PR and merge it if all good, we would like to use this, but also keep using the official action. |
@DuncanCasteleyn After spending a bit of time looking at this, I wasn't comfortable simply defaulting to 1 day (even though that was my initial suggestion 🤦🏼 ). I've pushed #953 which makes this configurable as you originally asked. I'll put out a |
Pending a release, you can use the action with the latest changes. Use either |
Thanks, this will save us some trouble and cost in the future. |
Currently it does not seem possible to to set the artifact retention period on artifacts produced by this action, it would save storage cost if an option were added to set the retention period for artifacts produced by this action.
I'm referring specifically to a feature that is available in the official upload artifact action.
The text was updated successfully, but these errors were encountered: