Add conditions for push a project C#