Skip to content

Commit b61ddc8

Browse files
authored
Show filenames of diff from auto-generated files in CI (#638)
There is a test in the CI that checks for differences between the automatically generated files from OpenAPI. However, if this test fails, it doesn't indicate which files have differences. I will modify the CI to output this information.
1 parent ab04435 commit b61ddc8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/php-checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
- if: ${{ env.DIFF_IS_EMPTY != 'true' && github.actor != 'renovate[bot]' }}
5858
run: |
5959
echo "There are changes from the auto-generated files by OAS. Please run diff-check.yml and merge the PR generated by it first."
60+
echo "The files with differences are as follows."
61+
echo "$(git --no-pager diff --name-only HEAD)"
6062
exit 1
6163
tests:
6264
name: Run checks on PHP ${{ matrix.php }}

0 commit comments

Comments
 (0)