No log expiration setting for GitHub Actions

Presently, it seems GitHub Actions build logs expire in 90 days. This is indicated by the following message displayed when attempting to load up older logs of build jobs:

The logs for this run have expired and are no longer available.

There is currently no setting for defining log retention rules nor ability to retain logs of specific build jobs or workflows. The lack of ability to do so compromises on the traceability and transparency of open source projects with respect to changes made through their associated build job logs. It is coming close to a year since the launch of GitHub Actions with such options still nowhere to be seen in the official documentation or project settings.

GitHub Actions being an baked into GitHub itself makes it very convenient CI/CD solution worthy of adoption, except for the lack of important features such as these. It’d be great if job logs could be retained at least in some way for a start.


Thanks for your feedback.
Yes, currently GitHub does not support to set retention of some logs foe some specific build jobs or workflows.

GitHub takes your suggestions very seriously, and the suggestions are very helpful for improving GitHub.

I recommend that you can directly share your suggestion here. That will allow you to directly interact with the appropriate engineering team, and make it more convenient for the engineering team to collect and categorize your suggestions.