How to copy Github tag labels from one repository to another

With creating new repositories on Github, I frequently found myself wanting to reuse existing tag labels instead of having to create new ones again.

Below is a quick script I whipped up that uses the Github API to copy labels from one repo to another. It uses the Octokit gem for interacting with the API.