Skip to content

Instantly share code, notes, and snippets.

@robertomiranda
Last active August 29, 2019 08:51
Show Gist options
  • Save robertomiranda/69ae4da85b01457359d109d432df28f5 to your computer and use it in GitHub Desktop.
Save robertomiranda/69ae4da85b01457359d109d432df28f5 to your computer and use it in GitHub Desktop.
require 'octokit'
token = "TOKEN"
repo_name = "REPO NAME"
milestone = 0
client = Octokit::Client.new(access_token: token)
client.list_issues(repo_name, milestone: milestone, state: :all)
client.milestones(repo_name, state: :all).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment