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
message = '## š§ Changelog Updated\n\nMisplaced entries were automatically moved to the `[Unreleased]` section. The changes have been committed to this PR.';
167
-
} else if (result === 'cannot_fix' || result === 'error') {
168
-
message = '## ā Changelog Validation Failed\n\nPlease manually move changelog entries to the `[Unreleased]` section.';
177
+
} else if (result === 'fixed' || result === 'cannot_fix' || result === 'error') {
<summary>š Click to see the corrected changelog content</summary>
198
+
199
+
\`\`\`mdx
200
+
${fixedContent}
201
+
\`\`\`
202
+
203
+
</details>
204
+
205
+
**What happened?**
206
+
The validation script detected that you added changelog entries to a version section that has already been released (like \`v3.0.0-alpha.10\`). All new entries should go in the \`[Unreleased]\` section under the appropriate category (\`### Added\`, \`### Fixed\`, etc.).
207
+
208
+
${committed !== 'true' ? '**Action needed:** Please copy the corrected content from above and replace your changelog file.' : ''}`;
0 commit comments