Sync to google calendar when status is not done

I want to be able to sync to google calendar only items which are not done.