ci: Fail when changelog is missing

This commit is contained in:
Jade Ellis
2026-04-12 17:21:04 +01:00
committed by Ellis Git
parent f02a08de57
commit 44ebf1f526
+3
View File
@@ -90,6 +90,9 @@ jobs:
issue_number: context.issue.number,
labels: ['Changelog/Missing'],
});
core.setFailed("Missing changelog entry (detected)");
} else if (currentLabels.includes('Changelog/Missing')) {
core.setFailed("Missing changelog entry (label)");
} else {
console.log('Changelog not needed');
// Changelog is probably not needed