Skip to content

Commit d5aed80

Browse files
committed
ci: Include new files in diff output
1 parent f5530ce commit d5aed80

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ jobs:
122122
- name: Diff the outputs
123123
run: |
124124
echo '```diff' > diff.md
125-
diff -w -d -r main/generated branch/generated | dd bs=1024 count=30 >> diff.md || true # We ignore diff exiting with a 1 on diff
125+
diff --ignore-all-space --minimal --new-file --recursive \
126+
main/generated \
127+
branch/generated | dd bs=1024 count=30 >> diff.md || true # We ignore diff exiting with a 1
126128
echo -e '\n```' >> diff.md
127129
128130
- name: Post a comment with the diff

0 commit comments

Comments
 (0)