Skip to content

Commit 786f44c

Browse files
committed
fix(ci): replace the problematic multi-line template
literal with an array of strings that gets joined with newlines, which avoids the YAML parsing issues with backticks and special characters.
1 parent 9b4aac8 commit 786f44c

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

.github/workflows/influxdb3-release.yml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -207,26 +207,29 @@ jobs:
207207
208208
if (hasMissingOptions || hasExtraOptions) {
209209
// 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+
210227
await github.rest.issues.create({
211228
owner: context.repo.owner,
212229
repo: context.repo.repo,
213230
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]
230233
});
231234
232235
console.log('Created issue for CLI documentation updates');

0 commit comments

Comments
 (0)