Skip to content

Commit d84324f

Browse files
committed
Show diff filename in CI
1 parent 0485ef0 commit d84324f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/generate-code.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
- if: ${{ github.event_name == 'pull_request' && env.DIFF_IS_EMPTY != 'true' && github.actor != 'renovate[bot]' }}
3737
run: |
3838
echo "There are changes in the generated codes. Please run 'generate-code.py' and commit the changes." >&2
39+
echo "The files with differences are as follows." >&2
40+
echo "$(git --no-pager diff --name-only HEAD)" >&2
3941
exit 1
4042
## Run if diff exists and event is not pull request, and make PR
4143
- if: ${{ github.event_name != 'pull_request' && env.DIFF_IS_EMPTY != 'true' }}

0 commit comments

Comments
 (0)