Create contributions for pull request reviews #64

Merged
galfert merged 5 commits from feature/49-code_review_kredits into master 2021-01-29 10:41:01 +00:00
Showing only changes of commit cbfd25e880 - Show all commits

View File

@@ -67,6 +67,12 @@ if (isNaN(endTimestamp)) {
process.exit(1);
}
// check for existence of GITHUB_TOKEN and GITEA_TOKEN
if (!process.env.GITHUB_TOKEN || !process.env.GITEA_TOKEN) {
console.log('Please set both GITHUB_TOKEN and GITEA_TOKEN');
process.exit(1);
}
const startDate = new Date(startTimestamp);
const endDate = new Date(endTimestamp);