How to change artifact and log retention for a private GitHub repository
Here is how to change artifact and log retention for a private github repository
- First, open the private repository where you want to change artifact and log retention
- Next click on "Settings" tab in the top navigation menu
- In the sidebar menu, click on "Actions" option under Code and automation section
- Then click on "General" option in the expanded Actions submenu
- Next scroll down and locate the "Artifact and log retention" section
- Then click on the artifact retention days input field and change the value (between 1 and 400 days)
- Finally click on "Save" button to apply the changes
Why should you change artifact and log retention for a private GitHub repository
GitHub is the home of collaboration and innovation for software developers.
Changing artifact and log retention in a private GitHub repository is crucial for efficient project management. It allows users to customize how long build artifacts and logs are retained, optimizing storage usage and ensuring crucial data is retained according to team needs.
This feature provides better control over storage costs and ensures compliance with data management policies. With customizable retention settings, teams can maintain cleaner repositories while keeping essential data accessible.
Last update





