You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/pr-format-check.yml
+20-8Lines changed: 20 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -32,15 +32,27 @@ jobs:
32
32
core.setFailed(`❌ PR should contain a valid ADO Work Item ID.\nExpected a hyperlink in the format: https://sqlclientdrivers.visualstudio.com/.../_workitems/edit/<ID>\nPlease ensure the ADO task hyperlink is present in the PR description.`);
33
33
}
34
34
35
-
// Check if PR description contains a non-empty summary section
35
+
// Check if PR description contains a meaningful summary section with actual content
core.setFailed(`❌ PR should contain a non-empty summary section. Please add a meaningful summary under the '### Summary' heading in your PR description.`);
39
+
let hasValidSummary = false;
40
+
41
+
if (summaryMatch && summaryMatch[1]) {
42
+
// Extract the summary content
43
+
const summaryContent = summaryMatch[1];
44
+
45
+
// Remove all HTML comments including the template placeholder
0 commit comments