In reply to fred99:
Maybe someone with more knowledge on the inner workings of traffic lights can comment, but I would expect there to be a degree of configuration to the sensors.
Even though we live in an increasingly car-centric world, I find it very hard to believe that nobody considered other vehicle types when these light systems were proposed, developed and rolled out.
Certainly some of these lights are successfully triggered by bicycles and motorcycles, therefore the ones that aren't, must be faulty and hopefully can be tweaked to resolve the problem (but first they must be reported at faulty!).
In the meantime, to answer OPs question, treat them as any other faulty light and proceed with extreme caution as per HC176.