Only build if branch has changed