Add a function to determine if a project is inactive
What does this MR do and why?
Inactive projects are defined as follows:
Self-managed projects with any license (Free, Premium, or Ultimate) or GitLab SaaS projects that have a Free license where the project meets both of the following criteria:
- The project repository size exceeds the size threshold defined in the instance settings.
- The project has not had any comments, commits, MRs, new issues, or other activity for the length of time defined in the instance settings.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/357645
Edited by Huzaifa Iftikhar