Add status check after the merging step