File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 30
30
# | added | pygmt/tests/baseline/test_image.png |
31
31
- name : Put list of images that were added or changed into report
32
32
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
33
35
dvc diff --show-md master HEAD >> report.md
34
36
cat report.md
35
37
42
44
id : image-diff
43
45
run : |
44
46
# Get just the filename of the changed image from the report
45
- tail --lines=+3 report.md | cut --delimiter=' ' --fields=7 > diff_files.txt
47
+ tail --lines=+5 report.md | cut --delimiter=' ' --fields=7 > diff_files.txt
46
48
47
49
# Append each image to the markdown report
48
50
echo -e "## Image diff(s)\n" >> report.md
66
68
with :
67
69
issue-number : ${{ github.event.pull_request.number }}
68
70
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 '
70
72
71
73
- name : Create comment with image diff report
72
74
if : steps.fc.outputs.comment-id == ''
You can’t perform that action at this time.
0 commit comments