mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
Update update-set-implementation-lists.yml
This commit is contained in:
parent
9c74f1e512
commit
570c981f43
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue