Created
February 6, 2017 06:20
-
-
Save auxesis/d21e76a4c716e0969b60ee61d3188153 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'octokit' | |
Octokit.auto_paginate = true | |
client = Octokit::Client.new(:access_token=>ENV['GITHUB_ACCESS_TOKEN']) | |
repos = client.repos 'ausdto' | |
repos.each do |r| | |
repo_name = r[:full_name] | |
puts "Ignoring #{repo_name}" | |
client.update_subscription(repo_name, :ignored => true) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment