Projects should have empty_repo = false. An empty project (no commits) cannot run CI, cannot have a default branch, and likely indicates an abandoned or accidentally-created placeholder. Either populate it with an initial commit or delete it.
1. If the project is intended to be active, push an initial commit (README.md, .gitlab-ci.yml). 2. If the project is unused, delete it via Settings > General > Advanced > Delete project.
{
"target": "GLProject",
"if": {
"allOf": [
{
"resource": "GLProject",
"property": "EmptyRepo",
"operator": "equals",
"value": false
}
]
},
"then": {
"effect": "Audit"
}
}
Copyright © DevOps Shield. All Rights Reserved. Privacy Policy | Cookie Policy | Terms and Conditions | v1.0.2