diff --git a/.github/workflows/validate-assets.yml b/.github/workflows/validate-assets.yml index dcf0cd31..8cd269a0 100644 --- a/.github/workflows/validate-assets.yml +++ b/.github/workflows/validate-assets.yml @@ -58,17 +58,19 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, issue_number: context.issue.number, - body: `## ❌ Invalid File Types - -No valid \`.onnx\` or \`.cfg\` files found. - -**Files uploaded:** ${fileList} - -**Required:** -- Models: \`.onnx\` files in \`models/\` folder -- Configs: \`.cfg\` files in \`configs/\` folder - -This PR has been automatically closed.` + body: [ + '## ❌ Invalid File Types', + '', + 'No valid `.onnx` or `.cfg` files found.', + '', + `**Files uploaded:** ${fileList}`, + '', + '**Required:**', + '- Models: `.onnx` files in `models/` folder', + '- Configs: `.cfg` files in `configs/` folder', + '', + 'This PR has been automatically closed.' + ].join('\n') }); await github.rest.pulls.update({