How to automatically archive projects?

Replace this template with your information

My projects is too much.I want to to automatically archive projects.
Can you help me?
My gitlab version is Gitlab Community Edition 13.9.5.