1
0
Fork 0
mirror of https://github.com/bayandin/awesome-awesomeness.git synced 2024-11-20 11:26:10 -05:00

Update Dangerfile

This commit is contained in:
Miguel Piedrafita 2016-12-06 13:10:09 +01:00 committed by GitHub
parent 0da90b535a
commit 87c65cdcbb

View file

@ -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'])