From 87c65cdcbb94df8dc996511da05b4844bd587860 Mon Sep 17 00:00:00 2001 From: Miguel Piedrafita Date: Tue, 6 Dec 2016 13:10:09 +0100 Subject: [PATCH] Update Dangerfile --- Dangerfile | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Dangerfile b/Dangerfile index 88fe801..10e0899 100644 --- a/Dangerfile +++ b/Dangerfile @@ -28,14 +28,3 @@ if has_readme_changes markdown j['message'] end end -if has_readme_changes - require 'rubygems' - require 'json' - require 'octokit' - client = Octokit::Client.new(:access_token => DANGER_GITHUB_API_TOKEN) - user = client.user - user.login - data = JSON.parse(json) - puts data - puts data['number'] - done = Octokit.add_labels_to_an_issue("bayandin/awesome-awesomeness", data['number'], ['Changes Required'])