We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f245ee5 commit 8a77635Copy full SHA for 8a77635
.github/workflows/generate-code.yml
@@ -41,7 +41,12 @@ jobs:
41
- run: |
42
diff_files=$(git --no-pager diff --name-only)
43
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
48
echo "DIFF_IS_EMPTY=$([[ -z "$diff_excluding_submodule" ]] && echo 'true' || echo 'false')" >> $GITHUB_ENV
49
50
echo "CURRENT_DATETIME=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
51
## Run if diff exists and pull request, and make CI status failure (but allow renovate bot)
52
- if: ${{ github.event_name == 'pull_request' && env.DIFF_IS_EMPTY != 'true' && github.actor != 'renovate[bot]' }}
0 commit comments