You can set up these environment variables using the setenv
command:
HUBOT_GITHUB_REPO
- (Optional): If you want a default Github repo, then set this environment variable.HUBOT_GITHUB_USER
- (Optional): If you want a default Github user, then set this environment variable.HUBOT_GITHUB_API
- (Optional): If you want to use Github Enterprise, then set this environment variable.github repo show <user/repo>
: Shows you information about a repoExample: @nestorbot: github repo show zerobotlabs/relax
github repo committers <user/repo>
: Shows you all the committers for a repogithub repo top-committer <user/repo>
: Shows you the top committer for a repoExample: @nestorbot: github repo committers zerobotlabs/relax
github show [<limit> [of]] [<assignee>'s|my] [<label>] issues [for <user/repo>] [about <query>]
: Shows open GitHub issues for repo.github show issues for <user/repo>
: List all issues for given repogithub show issues for <repo>
: List all issues for given repo if HUBOT_GITHUB_USER
configuredgithub show issues
: Lists all issues if HUBOT_GITHUB_REPO
is setExample: @nestorbot show issues for zerobotlabs/relax
. If you set your default user as "zerobotlabs" with @nestorbot: setenv HUBOT_GITHUB_USER=zerobotlabs
then you can just say @nestorbot: show issues for relax
.
github merge project_name/<head> into <base>
: Merges the selected branches or SHA commitsgithub show <user/repo> pulls [with <regular expression>]
: Shows open pull requests for that project by filtering pull request's title.github show <repo> pulls
: Show open pulls for HUBOT_GITHUB_USER
/, if HUBOT_GITHUB_USER
is configuredgithub show org-pulls [for <organization>]
: Show open pulls for all repositories of an organization, default is HUBOT_GITHUB_ORG
Example: @nestorbot show zerobotlabs/relax pulls
. If you set your default user as "zerobotlabs" with @nestorbot: setenv HUBOT_GITHUB_USER=zerobotlabs
then you can just say @nestorbot: show relax pulls
.
github search <user/repo> <query>
: Search for ingithub status
: Returns the current system status and timestamp.github status last
: Returns the last human communication, status, and timestamp.github status messages
: Returns the most recent human communications with status and timestamp.The source for this app is available at asknestor-apps/github.