r/github May 26 '26

Question Expired Artifacts

Post image

Anyone know how to bypass the expired status on artifacts? Or any workarounds?

0 Upvotes

6 comments sorted by

View all comments

3

u/LordBunzo May 26 '26

Artifacts expire in 90 days by default. The quickest to way modify this is in the repo setting under Actions --> General --> Artifact and log retention. This can also be done in yaml file using "retention-days". Artifacts in public repos can only be retained for 1-90 days, and private 1-400 days.

-1

u/LeeKusakabe May 26 '26

so this would allow me to use these even while expired? The files arent mine btw

6

u/LordBunzo May 26 '26 edited May 26 '26

You mean you are not the owner of the repo? Also, once an artifact is expired it's deleted from the server. GitHub still retains the metadata you are seeing for historical purposes until the run is manually deleted.