diff --git a/.github/actions/ai-generated-release-notes/determine-category.js b/.github/actions/ai-generated-release-notes/determine-category.js index 9ee8eb97bd..fef54d77c4 100755 --- a/.github/actions/ai-generated-release-notes/determine-category.js +++ b/.github/actions/ai-generated-release-notes/determine-category.js @@ -33,11 +33,11 @@ try { { role: 'system', content: - 'You are categorizing pull requests for release notes. You must respond with exactly one of these categories: "Features", "Enhancements", "Bugfix", or "Maintenance". No other text or explanation.', + 'You are categorizing pull requests for release notes. You must respond with exactly one of these categories: "Features", "Enhancements", "Bugfixes", or "Maintenance". No other text or explanation.', }, { role: 'user', - content: `PR Title: ${prDetails.title}\n\nGenerated Summary: ${summaryData.summary}\n\nCodeRabbit Analysis:\n${commentBody}\n\nCategories:\n- Features: New functionality or capabilities\n- Bugfix: Fixes for broken or incorrect behavior\n- Enhancements: Improvements to existing functionality\n- Maintenance: Code cleanup, refactoring, dependencies, etc.\n\nWhat category does this PR belong to?`, + content: `PR Title: ${prDetails.title}\n\nGenerated Summary: ${summaryData.summary}\n\nCodeRabbit Analysis:\n${commentBody}\n\nCategories:\n- Features: New functionality or capabilities\n- Bugfixes: Fixes for broken or incorrect behavior\n- Enhancements: Improvements to existing functionality\n- Maintenance: Code cleanup, refactoring, dependencies, etc.\n\nWhat category does this PR belong to?`, }, ], max_tokens: 10, @@ -86,7 +86,7 @@ try { // Validate the category response const validCategories = [ 'Features', - 'Bugfix', + 'Bugfixes', 'Enhancements', 'Maintenance', ]; diff --git a/bin/release-note-generator.ts b/bin/release-note-generator.ts index 5b36af94c8..b23e0fd023 100644 --- a/bin/release-note-generator.ts +++ b/bin/release-note-generator.ts @@ -37,7 +37,7 @@ async function run() { choices: [ { title: '✨ Features', value: 'Features' }, { title: '👍 Enhancements', value: 'Enhancements' }, - { title: '🐛 Bugfix', value: 'Bugfix' }, + { title: '🐛 Bugfixes', value: 'Bugfixes' }, { title: '⚙️ Maintenance', value: 'Maintenance' }, ], }, diff --git a/upcoming-release-notes/6707.md b/upcoming-release-notes/6707.md new file mode 100644 index 0000000000..72779ade5a --- /dev/null +++ b/upcoming-release-notes/6707.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [jfdoming] +--- + +Update release notes category from 'Bugfix' to 'Bugfixes' for consistency.