Skip to content

Commit bedcc69

Browse files
committed
ok
1 parent 03f64a9 commit bedcc69

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/preview-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ jobs:
241241
ALL_CHANGED_FILES: ${{ steps.check-files.outputs.all_changed_files }}
242242
with:
243243
script: |
244-
const changedMdFiles = process.env.ALL_CHANGED_FILES.split('\s+')
244+
const changedMdFiles = process.env.ALL_CHANGED_FILES
245+
.split('\s+')
245246
.filter(i => i.endsWith('.md'))
246247
.filter(i => !i.includes('/_snippets/'));
247248
@@ -250,7 +251,7 @@ jobs:
250251
owner: context.repo.owner,
251252
repo: context.repo.repo,
252253
issue_number: context.payload.pull_request.number,
253-
body: `**${changedMdFiles.length} markdown files changed:**\n\n${changedMdFiles.join('\n')}`
254+
body: `**${changedMdFiles.length} markdown files changed:**\n\n - ${changedMdFiles.join('\n -')}`
254255
});
255256
}
256257

0 commit comments

Comments
 (0)