fix workflow status check, close [COGE-316]

The workflow status check needs to check for the case where jobs cannot
be scheduled and no jobs have been run.