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 48cb91b commit cc2287bCopy full SHA for cc2287b
.github/workflows/generate-code.yml
@@ -49,11 +49,12 @@ jobs:
49
echo "DIFF_IS_EMPTY=$([[ -z "$diff_excluding_submodule" ]] && echo 'true' || echo 'false')" >> $GITHUB_ENV
50
echo "CURRENT_DATETIME=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
51
## Run if diff exists and pull request or merge queue, and make CI status failure (but allow renovate bot)
52
+ ## 29139614 is renovate bot's actor id
53
- if: >-
54
${{
55
(github.event_name == 'pull_request' || github.event_name == 'merge_group')
56
&& env.DIFF_IS_EMPTY != 'true'
- && github.actor != 'renovate[bot]'
57
+ && github.actor_id != 29139614
58
}}
59
run: |
60
echo "There are changes in the generated codes. Please run 'generate-code.py' and commit the changes." >&2
0 commit comments