diff --git a/.github/actions/gradle-command-on-pr/action.yaml b/.github/actions/gradle-command-on-pr/action.yaml index 9786b2c85f..0bc3fd557b 100644 --- a/.github/actions/gradle-command-on-pr/action.yaml +++ b/.github/actions/gradle-command-on-pr/action.yaml @@ -39,7 +39,7 @@ runs: shell: bash id: git-check run: | - git update-index --refresh + git update-index --refresh || true echo modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi) >> $GITHUB_OUTPUT - name: Commit to the PR branch