Skip to content

Commit 5c5e66a

Browse files
committed
Make GitHub comment more descriptive and easier to regex match
1 parent 1db5328 commit 5c5e66a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/dvc-diff.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
# | added | pygmt/tests/baseline/test_image.png |
3131
- name: Put list of images that were added or changed into report
3232
run: |
33+
echo -e "## Summary of changed images\n" > report.md
34+
echo -e "This is an auto-generated report of images that have changed on the DVC remote\n" >> report.md
3335
dvc diff --show-md master HEAD >> report.md
3436
cat report.md
3537
@@ -66,7 +68,7 @@ jobs:
6668
with:
6769
issue-number: ${{ github.event.pull_request.number }}
6870
comment-author: 'github-actions[bot]'
69-
body-includes: '## Image diff(s)'
71+
body-includes: 'This is an auto-generated report of images that have changed on the DVC remote'
7072

7173
- name: Create comment with image diff report
7274
if: steps.fc.outputs.comment-id == ''

0 commit comments

Comments
 (0)