Skip to content

Commit 8a77635

Browse files
committed
NO-ISSUE Show content
1 parent f245ee5 commit 8a77635

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/generate-code.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ jobs:
4141
- run: |
4242
diff_files=$(git --no-pager diff --name-only)
4343
diff_excluding_submodule=$(echo "$diff" | grep -v '^line-openapi$' || true)
44+
45+
echo "diff files: $diff_files"
46+
echo "diff excluding submodule: $diff_excluding_submodule"
47+
4448
echo "DIFF_IS_EMPTY=$([[ -z "$diff_excluding_submodule" ]] && echo 'true' || echo 'false')" >> $GITHUB_ENV
49+
4550
echo "CURRENT_DATETIME=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
4651
## Run if diff exists and pull request, and make CI status failure (but allow renovate bot)
4752
- if: ${{ github.event_name == 'pull_request' && env.DIFF_IS_EMPTY != 'true' && github.actor != 'renovate[bot]' }}

0 commit comments

Comments
 (0)