Skip to content

Commit

Permalink
Update readyForStable.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm1957 committed Jan 15, 2024
1 parent 832a40f commit 992f0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/readyForStable.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async function checkIssues(latest, stable, stats, result) {
if (res.length) newTitle = `${TITLE} from ${res[0].stable.version} to ${res[0].latest.version}`;
if (issue.title === newTitle) {
console.log(` ${issue.title} detected - issue still valid`);
const labels = await getGithub(`https://api.github.com/repos/${owner}/ioBroker.${adapter}/issue/${issueId}`);
const labels = await getGithub(`https://api.github.com/repos/${owner}/ioBroker.${adapter}/issues/${issueId}/labels`);
for (let i = 0; i < labels.length; i++) {
if (labels[i].name === 'stale') {
console.log(` issue marked as stale, will try to refresh`);
Expand Down

0 comments on commit 992f0de

Please sign in to comment.