{"action":"created","issue":{"url":"https://api.github.com/repos/danger/danger/issues/721","repository_url":"https://api.github.com/repos/danger/danger","labels_url":"https://api.github.com/repos/danger/danger/issues/721/labels{/name}","comments_url":"https://api.github.com/repos/danger/danger/issues/721/comments","events_url":"https://api.github.com/repos/danger/danger/issues/721/events","html_url":"https://github.com/danger/danger/issues/721","id":205418393,"number":721,"title":"Travis CI - Could not set up API to Code Review site for Danger","user":{"login":"SuriyaaKudoIsc","id":5073946,"avatar_url":"https://avatars.githubusercontent.com/u/5073946?v=3","gravatar_id":"","url":"https://api.github.com/users/SuriyaaKudoIsc","html_url":"https://github.com/SuriyaaKudoIsc","followers_url":"https://api.github.com/users/SuriyaaKudoIsc/followers","following_url":"https://api.github.com/users/SuriyaaKudoIsc/following{/other_user}","gists_url":"https://api.github.com/users/SuriyaaKudoIsc/gists{/gist_id}","starred_url":"https://api.github.com/users/SuriyaaKudoIsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuriyaaKudoIsc/subscriptions","organizations_url":"https://api.github.com/users/SuriyaaKudoIsc/orgs","repos_url":"https://api.github.com/users/SuriyaaKudoIsc/repos","events_url":"https://api.github.com/users/SuriyaaKudoIsc/events{/privacy}","received_events_url":"https://api.github.com/users/SuriyaaKudoIsc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-05T11:11:37Z","updated_at":"2017-02-05T17:44:49Z","closed_at":null,"body":"@danger\r\n\r\n----\r\n\r\n# Report\r\n> * https://github.com/bunto/bunto/pull/104\r\n> * https://travis-ci.org/bunto/bunto/jobs/198529966\r\n\r\n## What did the user do?\r\nA GitHub user send a PR.\r\n\r\n## What did you expect to happen?\r\nRunning Dangerfile without it crashing.\r\n\r\n## What happened instead?\r\n💥\r\n\r\nThe Travis CI log:\r\n```travis\r\n$ bundle exec danger\r\n\r\nCould not set up API to Code Review site for Danger\r\n\r\nFor your GitHub repo, you need to expose: DANGER_GITHUB_API_TOKEN\r\nYou may also need: DANGER_GITHUB_HOST, DANGER_GITHUB_API_BASE_URL\r\n\r\nFound these keys in your ENV: MANPATH, NVM_IOJS_ORG_VERSION_LISTING, rvm_bin_path, HOSTNAME, HAS_JOSH_K_SEAL_OF_APPROVAL, GEM_HOME, TERM, SHELL, IRBRC, TEST_SUITE, TRAVIS_COMMIT, NVM_PATH, TRAVIS_OS_NAME, CASHER_DIR, OLDPWD, MY_RUBY_HOME, rvm_autoupdate_flag, USER, NVM_DIR, _system_type, TRAVIS_LANGUAGE, rvm_path, TRAVIS, TRAVIS_REPO_SLUG, HAS_ANTARES_THREE_LITTLE_FRONZIES_BADGE, TRAVIS_COMMIT_MESSAGE, TRAVIS_PULL_REQUEST, PAGER, RACK_ENV, rvm_prefix, PATH, TRAVIS_PULL_REQUEST_SHA, TRAVIS_RUBY_VERSION, NVM_NODEJS_ORG_MIRROR, PWD, CONTINUOUS_INTEGRATION, JAVA_HOME, LANG, MERB_ENV, _system_arch, _system_version, TRAVIS_SUDO, TRAVIS_TAG, TRAVIS_ALLOW_FAILURE, rvm_version, TRAVIS_JOB_NUMBER, TRAVIS_EVENT_TYPE, SHLVL, PS4, HOME, BUNDLE_GEMFILE, GOROOT, RAILS_ENV, CI, TRAVIS_BUILD_ID, TRAVIS_PULL_REQUEST_SLUG, COMPOSER_NO_INTERACTION, GEM_PATH, TRAVIS_SECURE_ENV_VARS, DEBIAN_FRONTEND, NVM_BIN, NVM_IOJS_ORG_MIRROR, GIT_ASKPASS, TRAVIS_BRANCH, TRAVIS_COMMIT_RANGE, JRUBY_OPTS, TRAVIS_PULL_REQUEST_BRANCH, TRAVIS_JOB_ID, RUBY_VERSION, container, _system_name, TRAVIS_BUILD_DIR, TRAVIS_BUILD_NUMBER, rvm_silence_path_mismatch_check_flag, _, BUNDLER_ORIG_PATH, BUNDLER_ORIG_GEM_PATH, BUNDLE_BIN_PATH, BUNDLER_VERSION, RUBYOPT, RUBYLIB, BUNDLER_ORIG_MANPATH.\r\n\r\nFailing the build, Danger cannot run without API access.\r\nYou can see more information at http://danger.systems/guides/getting_started.html\r\n292547292972307,finish=1486292548138856339,duration=845884032\r\nThe command \"bundle exec danger\" failed and exited with 1 during .\r\nYour build has been stopped.\r\n```\r\n\r\n## Your Environment\r\n\r\n* Which CI are you running on? **Travis CI**\r\n* Are you running the latest version of Danger? **Yes.**\r\n* What is your Dangerfile? **Read issue #718.**\r\n"},"comment":{"url":"https://api.github.com/repos/danger/danger/issues/comments/277535512","html_url":"https://github.com/danger/danger/issues/721#issuecomment-277535512","issue_url":"https://api.github.com/repos/danger/danger/issues/721","id":277535512,"user":{"login":"orta","id":49038,"avatar_url":"https://avatars.githubusercontent.com/u/49038?v=3","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"created_at":"2017-02-05T17:44:49Z","updated_at":"2017-02-05T17:44:49Z","body":"Looks like you missed a bit in the second part of the setup: \r\n\r\n![screen shot 2017-02-05 at 12 43 38 pm](https://cloud.githubusercontent.com/assets/49038/22628360/bbdeb982-eba0-11e6-9176-a82a5fec6cdb.png)\r\n\r\nIf you use secure environment vars, then those only appear on different branch PRs instead of cross fork"}}
{"actor":{"display_login":"orta"}}