fix sync-to-testing job to not run while upstream jobs are scheduled