What is the default artifact retention period for GitHub Actions on public repositories?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Public repos get 90 days by default — private repos get 90 days too, but organization admins can change both via settings.
Full explanation below image
Full Explanation
The default artifact retention period is 90 days for both public and private repositories. This can be configured at the repository level (1-90 days for public repos, 1-400 days for private repos with paid plans) or at the artifact level using 'retention-days:' in the actions/upload-artifact action. After expiry, artifacts are automatically deleted. Organization administrators can set a default at the organization level. Artifacts count toward GitHub Actions storage quotas for private repositories. Logs have a separate default retention of 90 days.