Language:
Free Online Dictionary|3Dict

逢场作戏

Source : CEDICT

lit. find a stage, put on a comedy (idiom); to join in the fun/to play along according to local conditions