Skip to content

Commit

Permalink
Update checkNpm.js (#2956)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm1957 authored Nov 17, 2023
1 parent d3415f1 commit 2b74269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/checkNpm.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ async function updateSummaryIssue(adapters) {
let issues;
const title = `[CHECK] npm maintainers check results evidence report`;

issues = await getGithub(`https://api.github.com/repos/ioBroker/ioBroker.repositories/issues`);
issues = await getGithub(`https://api.github.com/repos/ioBroker/ioBroker.repositories/issues?state=open&page=1&per_page=100`);
issues = issues.filter(i => i.state === 'open' && i.title.includes(title));
if (!issues.length) {
console.log('warning: Could not locate base issue "${title}", will create one');
Expand All @@ -224,7 +224,7 @@ async function updateSummaryIssue(adapters) {
};
}

issues = await getGithub(`https://api.github.com/repos/ioBroker/ioBroker.repositories/issues`);
issues = await getGithub(`https://api.github.com/repos/ioBroker/ioBroker.repositories/issues?state=open&page=1&per_page=100`);
issues = issues.filter(i => i.state === 'open' && i.title.includes(title));
if (!issues.length) {
console.log(`error: Could not create or locate base issue "${title}"`);
Expand Down

0 comments on commit 2b74269

Please sign in to comment.