Emergency services were called to a block of flats following reports of a fire alarm sounding.