build: payload github status (#4549)

* build: payload github status

* Show payload deta on PRs using the Github Statuses API.

* Update config variables
This commit is contained in:
Paul Gschwendtner
2017-06-10 01:09:26 +02:00
committed by Andrew Seguin
parent fffff6c9f2
commit c2816efde4
5 changed files with 118 additions and 23 deletions
@@ -4,7 +4,7 @@ const request = require('request');
const {version, name} = require('../package.json');
/** API token for the Github repository. Required to set the github status on commits and PRs. */
const repoToken = config().repoToken;
const repoToken = config().secret.github;
/** Data that must be specified to set a Github PR status. */
export type GithubStatusData = {