def can_execute?(build)
    return if build.allow_failure?

    commit = build.commit
    return unless commit