Whirlpool gas cooktop clicks when not in use

My gas cooktop makes a clicking noise about every 15 seconds. I don’t smell any gas. The stove ignites, when I need it to with no problem. But not sure what to do about the clicking.