WIP Adapt script to latest RSK kredits code
This commit is contained in:
@@ -67,6 +67,8 @@ module.exports = class GiteaReviews {
|
||||
});
|
||||
|
||||
reviews.forEach(review => {
|
||||
// console.debug(`Review from /repos/${repo}/pulls/${pr.number}`);
|
||||
|
||||
if (typeof reviewContributions[review.user.login] === 'undefined') {
|
||||
reviewContributions[review.user.login] = [];
|
||||
}
|
||||
|
||||
@@ -68,6 +68,8 @@ module.exports = class GithubReviews {
|
||||
});
|
||||
|
||||
reviews.forEach(review => {
|
||||
// console.debug(`Review from /repos/${repo}/pulls/${pr.number}`);
|
||||
|
||||
if (typeof reviewContributions[review.user.login] === 'undefined') {
|
||||
reviewContributions[review.user.login] = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user