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 42835f1 commit f104ffdCopy full SHA for f104ffd
.github/workflows/generated-code.yml
@@ -28,8 +28,8 @@ jobs:
28
diff=$(git --no-pager diff --name-only HEAD)
29
echo "DIFF_IS_EMPTY=$([[ -z "$diff" ]] && echo 'true' || echo 'false')" >> $GITHUB_ENV
30
echo "CURRENT_DATETIME=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
31
- ## Run if diff exists and pull request, and make CI status failure
32
- - if: ${{ github.event_name == 'pull_request' && env.DIFF_IS_EMPTY != 'true' }}
+ ## Run if diff exists and pull request, and make CI status failure (but allow renovate bot)
+ - if: ${{ github.event_name == 'pull_request' && env.DIFF_IS_EMPTY != 'true' && github.actor != 'renovate[bot]' }}
33
run: |
34
echo "There are changes in the generated codes. Please run 'generate-code.py' and commit the changes." >&2
35
exit 1
0 commit comments