Skip to content

Update check.js - adding of new labels added #4766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions lib/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,7 @@ async function doIt() {
const statistic = await getUrl('https://www.iobroker.net/data/statistics.json');

comments.push({text:`\n`, noDecorate: true});
//comments.push({text:`Adapter releases: https://www.iobroker.dev/adapter/${adapterName}/releases`, noDecorate: true});
comments.push({text:`Adapter releases: https://www.iobroker.dev/adapter/${owner}/${adapter}/releases`, noDecorate: true});
//comments.push({text:`Adapter statistic: https://www.iobroker.dev/adapter/${adapterName}/statistics`, noDecorate: true});
comments.push({text:`Adapter statistic: https://www.iobroker.dev/adapter/${owner}/${adapter}/statistics`, noDecorate: true});

const now = new Date();
Expand Down Expand Up @@ -407,12 +405,18 @@ async function doIt() {

comments.push({text:``, noDecorate: true});
comments.push({text:`stable release not yet available`, noDecorate: true});
await addLabel(prID, ['new at STABLE']);

}


comments.push({text:``, noDecorate: true});
comments.push({text:`**Please verify that this PR really tries to update to release ${latestRelease}!**\n`, noDecorate: true});

} else {
const latest = await getUrl('http://repo.iobroker.live/sources-dist-latest.json');
if (!latest[adapterName]) {
await addLabel(prID, ['new at LATEST']);
}
}
}
if (!someChecked) {
Expand Down