I've stuck by "don't shit where you eat" since my late 20s.
Joined somewhere recently and a girl from another team has been quite flirty on teams etc. So far all harmless but I'm very tempted to ask her for a few drinks in town.
I'm serious about my role though and want to progress, kept my nose clean in a previous job and aim to do the same here . She is gorgeous and we get on like a house on fire. She could say "no" obvs which is another reason I might hold off.