mirror of
https://github.com/bayandin/awesome-awesomeness.git
synced 2024-11-27 11:34:35 -05:00
Update Dangerfile
This commit is contained in:
parent
0da90b535a
commit
87c65cdcbb
1 changed files with 0 additions and 11 deletions
11
Dangerfile
11
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'])
|
||||
|
|
Loading…
Reference in a new issue