Merge branch 'dev/pr_automation_5' into dev/test_pr_automation_5
Build on RHEL9 docker image / build (push) Successful in 4m10s
Build on RHEL8 docker image / build (push) Successful in 5m5s
Run Simulator Tests on local RHEL9 / build (push) Failing after 10m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m31s

This commit is contained in:
maliakal_d committed 2026-09-14 15:34:49 +02:00
commit 70eff03a14
1 file changed
+11 -8
+11 -8
View File
@@ -55,17 +55,20 @@ jobs:
*/
const findReleaseNotesSection = (body = '') => {
const sanitized = stripIgnoredContent(body || '');
if (!sanitized) {
return '';
}
if (!sanitized) return '';
const match = sanitized.match(
/(^|\n)#{1,6}\s*Release notes\s*\n([\s\S]*?)(?=\n#{1,6}\s+\S|\s*$)/i
);
if (!match) {
return '';
}
const section = stripIgnoredContent(match[2] || '').trim();
return section.length > 0 ? section : '';
if (!match) return '';
let section = (match[2] || '')
.split('\n')
.filter(line => !/^#{1,6}\s+/.test(line.trim()))
.join('\n')
.trim();
return section;
};
/**