@@ -207,26 +207,29 @@ jobs:
207
207
208
208
if (hasMissingOptions || hasExtraOptions) {
209
209
// Create issue
210
+ const issueBody = [
211
+ '## CLI Documentation Audit Results',
212
+ '',
213
+ `The following documentation issues were found during the release of **${product} v${version}**:`,
214
+ '',
215
+ report,
216
+ '',
217
+ '### Action Items:',
218
+ '- [ ] Review and update documentation for commands with missing options',
219
+ '- [ ] Remove documentation for deprecated options',
220
+ '- [ ] Verify all examples work with the new version',
221
+ '- [ ] Update any version-specific content',
222
+ '',
223
+ '---',
224
+ '*This issue was automatically generated during the release process.*'
225
+ ].join('\n');
226
+
210
227
await github.rest.issues.create({
211
228
owner: context.repo.owner,
212
229
repo: context.repo.repo,
213
230
title: `CLI Documentation Updates Needed - ${product} v${version}`,
214
- body: `## CLI Documentation Audit Results
215
-
216
- The following documentation issues were found during the release of **${product} v${version}** :
217
-
218
- ${report}
219
-
220
- # ## Action Items:
221
- - [ ] Review and update documentation for commands with missing options
222
- - [ ] Remove documentation for deprecated options
223
- - [ ] Verify all examples work with the new version
224
- - [ ] Update any version-specific content
225
-
226
- ---
227
- *This issue was automatically generated during the release process.*`,
228
- labels : ['documentation', 'cli-audit', 'release', product],
229
- milestone : version // Assumes milestone exists for version
231
+ body: issueBody,
232
+ labels: ['documentation', 'cli-audit', 'release', product]
230
233
});
231
234
232
235
console.log('Created issue for CLI documentation updates');
0 commit comments