mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-11 03:43:52 +01:00
minor
This commit is contained in:
1 parent
51f1706e1c
commit
c5e9edd95e
1 file changed
+3
-2
@@ -132,9 +132,10 @@ jobs:
|
||||
const releaseNotes = findReleaseNotesSection(pr.body || '');
|
||||
const hasNoReleaseNoteLabel = labelNames.includes('No release note');
|
||||
|
||||
core.info(`Release notes section found: ${releaseNotes}`);
|
||||
|
||||
if (releaseNotes) {
|
||||
core.info(`Release notes found in the PR body: ${releaseNotes}`);
|
||||
|
||||
if (hasNoReleaseNoteLabel) {
|
||||
core.setFailed(
|
||||
'The PR has a "## Release notes" section but is also labeled "No release note". Remove the label or remove the release notes section.'
|
||||
@@ -149,7 +150,7 @@ jobs:
|
||||
return;
|
||||
}
|
||||
|
||||
core.info('Release notes found in the PR body.');
|
||||
core.info(`Confirm no further action required for release notes.`);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user