This commit is contained in:
Odonno 2019-02-09 12:12:40 +01:00
Родитель 46ae1b1ad0
Коммит 12aea5fd86
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -51,7 +51,7 @@ These environment variables should be set to launch the bot.
| Variable | Description | Default value | | Variable | Description | Default value |
|-|-|-| |-|-|-|
| GITHUB_BOT_LOGIN | Login of the GitHub account of the bot | uwptoolkitbot | | GITHUB_BOT_LOGIN | Login of the GitHub account of the bot | windowstoolkitbot |
| GITHUB_BOT_ACCESS_TOKEN | Personal Access Token used to retrieve data from the GitHub API | | | GITHUB_BOT_ACCESS_TOKEN | Personal Access Token used to retrieve data from the GitHub API | |
| GITHUB_BOT_TARGET_REPO_OWNER | Target Repository owner | windows-toolkit | | GITHUB_BOT_TARGET_REPO_OWNER | Target Repository owner | windows-toolkit |
| GITHUB_BOT_TARGET_REPO_NAME | Target Repository name | WindowsCommunityToolkit | | GITHUB_BOT_TARGET_REPO_NAME | Target Repository name | WindowsCommunityToolkit |

Просмотреть файл

@ -1,6 +1,6 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.BOT_LOGIN = process.env.GITHUB_BOT_LOGIN || 'uwptoolkitbot'; exports.BOT_LOGIN = process.env.GITHUB_BOT_LOGIN || 'windowstoolkitbot';
exports.ACCESS_TOKEN = process.env.GITHUB_BOT_ACCESS_TOKEN; exports.ACCESS_TOKEN = process.env.GITHUB_BOT_ACCESS_TOKEN;
exports.TARGET_REPO_OWNER = process.env.GITHUB_BOT_TARGET_REPO_OWNER || 'windows-toolkit'; exports.TARGET_REPO_OWNER = process.env.GITHUB_BOT_TARGET_REPO_OWNER || 'windows-toolkit';
exports.TARGET_REPO_NAME = process.env.GITHUB_BOT_TARGET_REPO_NAME || 'WindowsCommunityToolkit'; exports.TARGET_REPO_NAME = process.env.GITHUB_BOT_TARGET_REPO_NAME || 'WindowsCommunityToolkit';

Просмотреть файл

@ -1,4 +1,4 @@
export const BOT_LOGIN = process.env.GITHUB_BOT_LOGIN || 'uwptoolkitbot'; export const BOT_LOGIN = process.env.GITHUB_BOT_LOGIN || 'windowstoolkitbot';
export const ACCESS_TOKEN = process.env.GITHUB_BOT_ACCESS_TOKEN; export const ACCESS_TOKEN = process.env.GITHUB_BOT_ACCESS_TOKEN;
export const TARGET_REPO_OWNER = process.env.GITHUB_BOT_TARGET_REPO_OWNER || 'windows-toolkit'; export const TARGET_REPO_OWNER = process.env.GITHUB_BOT_TARGET_REPO_OWNER || 'windows-toolkit';
export const TARGET_REPO_NAME = process.env.GITHUB_BOT_TARGET_REPO_NAME || 'WindowsCommunityToolkit'; export const TARGET_REPO_NAME = process.env.GITHUB_BOT_TARGET_REPO_NAME || 'WindowsCommunityToolkit';