Add `set-labels` from sbesson

See: https://gist.github.com/sbesson/8362686

/cc @sbesson