mirror of
https://github.com/bayandin/awesome-awesomeness.git
synced 2025-04-14 17:33:02 -04:00
Update danger.rb
This commit is contained in:
parent
345e601dd9
commit
93055e9c55
1 changed files with 0 additions and 2 deletions
|
@ -1,10 +1,8 @@
|
|||
require 'optparse'
|
||||
require 'rubygems'
|
||||
require 'json'
|
||||
require 'octokit'
|
||||
client = Octokit::Client.new(:access_token => GITHUB_DANGER_API_TOKEN)
|
||||
user = client.user
|
||||
user.login
|
||||
json = ARGV[0]
|
||||
data = JSON.parse(json)
|
||||
Octokit.add_labels_to_an_issue("bayandin/awesome-awesomeness", data['number'], ['Changes Required'])
|
||||
|
|
Loading…
Add table
Reference in a new issue