I went for a bike ride in the evening knowing ahead the weather report had an 80% chance of rain, but at the time, I had no recollection of thunderstorms or even heavy wind, perhaps I overlooked those details.
That said, I did a few things wrong, a few things right, I think.
I should have checked the most recent weather report, and if lightning was forecast, then I wouldn't have been out. Mistake #1, inadequate planning.
After I was out, (it was dark out, so I couldn't look at the clouds), the winds picked up rather quickly, from nothing to about 30 mph + sustained winds. I knew at this point that there was a storm on top of me, but since I didn't recall there being lightning in the forecast, proceeded on even though anytime there have been a change in winds that strong, it is accompanied by lightning. Mistake #2 was continuing along the ridge toward the peak.
After the winds, the sky opened up with rain literally in less than 30 seconds. Mistake #3 was again proceeding the same direction rather than turning back toward the backside of the hill which would (in theory be safer from lightning).
After the rain, it was about a minute or so when the first flash of lightning occurred and it was within a mile of me being about 3 seconds. Mistake #4 was again, proceeding the same direction.
Once all of this occurred, the only thing I think I did perhaps somewhat right was to ride in the middle of the road as the road was lined with trees. My rationale was that I didn't want to be directly under the tree if it were struck.
I believed it was safest to keep moving and stay on the bike as it would hopefully get me out of harms way, protect me from possible Eddy currents. At the same rate, the bike being largely metal would perhaps be attracting lightning, so maybe this is a wash.
In hindsight, I should have down things differently.
In my mind at the time, I had already thought about reversing course to go down the backside of the hill rather than over the peak. However, it wasn't as clear cut as that. Reversing course would have left me on the ridge for about 3 minutes (at the same elevation) whereas continuing forward would require me to get over the peak (about 50' additional vertical) and less than 2 minutes of riding. Also, at the time, I wasn't thinking the risk of lightning strikes on the backside versus front side of the hill were different, I thought they were roughly equal. Another factor was that my course was the shortest to a shelter that would offer protection albeit requiring me to crest a hill and descend to get there. I believe the lightning was in front of me, the direction I was heading ...
I should have planned better, but I'm asking so I can perhaps make better decisions in the field to reduce risk.