Github
GitHub is a code hosting and version control platform for developers to collaborate on software projects.
Website
Industry
Website
Share this article:

How to change artifact and log retention for a public GitHub repository

Here is how to change artifact and log retention for a public github repository

  1. First, open the public repository where you want to change artifact and log retention
  2. Next click on "Settings" tab in the top navigation menu
  3. In the sidebar menu, click on "Actions" option under Code and automation section
  4. Then click on "General" option in the expanded Actions submenu
  5. Next scroll down to the "Artifact and log retention" section
  6. Then update the number of days to retain artifacts and logs (between 1 and 90 days)
  7. Finally click on "Save" button to apply the changes

Create your own interactive guide with Guideflow

Why should you change artifact and log retention for a public GitHub repository

GitHub is a dynamic platform designed to facilitate collaborative software development and version control.

One of its valuable features is the ability to adjust artifact and log retention in public repositories. This flexibility allows you to manage storage efficiently, ensuring that your repository remains clean and relevant.

By optimizing retention settings, you not only save space but also streamline your development process, enabling your team to focus on productivity while minimizing data clutter.

These features enhance performance, making project management smoother and more effective for both large teams and individual developers.

Last update
April 10, 2026
Cursor MariaA cursor points to a button labeled "James."

Create your first demo in less than 30 seconds.