Wiktionary
ride one's luck
vb. (context idiomatic English) To avoid failure only by good fortune.