asking for trouble
US /ˈæskɪŋ fɔr ˈtrʌbəl/
UK /ˈæskɪŋ fɔr ˈtrʌbəl/

1.
doing something that is likely to cause problems or difficulties for oneself
:
•
Leaving your car unlocked in this neighborhood is really asking for trouble.
•
If you keep talking back to your boss, you're just asking for trouble.