Do I need a building permit to replace my roof?

A building permit is required.