Skip to content

Commit 7cf53c9

Browse files
mnoconadriendupuis
andauthored
Applied review wording suggestion
Co-authored-by: Adrien Dupuis <[email protected]>
1 parent bcf8182 commit 7cf53c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/preview_comment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
change_count=$(echo "$change_list" | wc -l)
3333
3434
if [[ $change_list -eq '' ]] ; then
35-
comment="Preview of modified Markdown files: no Markdown changes to preview."
35+
comment="Preview of modified Markdown: no Markdown change to preview."
3636
elif [[ $change_count -gt $file_limit ]] ; then
37-
comment="Preview of modified Markdown files: Too many files modified in a single PR, preview link list is skipped. ($change_count files &gth; $file_limit)"
37+
comment="Preview of modified Markdown: Too many files modified in a single PR, preview link list is skipped. ($change_count files &gth; $file_limit)"
3838
else
39-
comment="Preview of modified Markdown files:\n\n$change_list"
39+
comment="Preview of modified Markdown:\n\n$change_list"
4040
fi
4141
4242
echo -e "$comment" > comment.md
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
issue-number: ${{ github.event.pull_request.number }}
4949
comment-author: 'github-actions[bot]'
50-
body-includes: 'Preview of modified Markdown files'
50+
body-includes: 'Preview of modified Markdown'
5151

5252
- name: Create or update comment
5353
uses: peter-evans/create-or-update-comment@v4

0 commit comments

Comments
 (0)