Local governments have until July 13 to apply for up to $3 million in grants for automated permitting and building code systems.