The construction, maintenance or existence within the City of any unprotected, unbarricaded, open or dangerous excavations, holes, pits or wells, or any excavations, holes or pits which constitute or are reasonably likely to constitute a danger or menace to public health, safety or welfare, is hereby prohibited; provided; however, this section shall not prevent any
under a permit issued pursuant to this Ordinance or the City Building Code. Where such excavations are properly protected and warning signs posted in such a manner as
be required by the
.