Update update-set-implementation-lists.yml

This commit is contained in:
ExpensiveKoala 2024-09-29 01:23:09 -07:00 committed by GitHub
parent 9c74f1e512
commit 570c981f43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,7 @@ jobs:
const issuesToUpdate = [];
const issuesToCreate = [];
setsData.forEach(set => {
for (const set of setsData) {
let foundIssue = undefined;
issues.every(issue => {
if(issue && issue.title && issue.title.startsWith(set[1])) {
@ -70,11 +70,11 @@ jobs:
let issueComments = undefined;
if (foundIssue) {
issueComments = github.paginate(github.rest.issues.listComments, {
issueComments = await github.paginate(github.rest.issues.listComments, {
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: foundIssue.number
}).result();
});
console.log(`Found ${issueComments.length} comments on issue`);
}
@ -134,7 +134,7 @@ jobs:
state: unimplemented.length > 0 ? "open" : "closed"
});
}
});
}
//console.log("Issues to update: ", issuesToUpdate);
//console.log("Issues to create: ", issuesToCreate);