We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c63d482 + d6f265f commit af718d7Copy full SHA for af718d7
src/scripts/github-activity.coffee
@@ -7,6 +7,7 @@
7
#
8
# Configuration:
9
# HUBOT_GITHUB_TOKEN
10
+# HUBOT_GITHUB_USER
11
12
# Commands:
13
# hubot repo show <repo> - shows activity of repository
@@ -20,7 +21,6 @@ module.exports = (robot) ->
20
21
github = require("githubot")(robot)
22
robot.respond /repo show (.*)$/i, (msg) ->
23
repo = github.qualified_repo msg.match[1]
- oauth_token = process.env.HUBOT_GITHUB_TOKEN
24
url = "https://api.github.com/repos/#{repo}/commits"
25
26
github.get url, (commits) ->
0 commit comments