Sha256: fa7c45f6eba63479716c391dcad92421c26fe48cb6336730fc5b1e195eb229b3
Contents?: true
Size: 494 Bytes
Versions: 14
Compression:
Stored size: 494 Bytes
Contents
namespace :teams do desc "Import the members of each team configured through the github.oauth.teams config" task fetch: :environment do Shipit.github_teams.each do |team| puts "Fetching @#{team.handle} members" begin team.refresh_members! rescue Octokit::Unauthorized, Octokit::NotFound => error puts "Failed to fetch @#{team.handle} members. Do you have enough permissions?" puts "#{error.class}: #{error.message}" end end end end
Version data entries
14 entries across 14 versions & 1 rubygems