diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index d781b25..3c840a7 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -70,7 +70,7 @@ jobs: echo "Updating chart version file from $CURRENT_VERSION to $NEXT_VERSION" sed -i "s/version: $CURRENT_VERSION/version: $NEXT_VERSION/" ${{ env.CHART_VERSION_FILE_PATH }} git diff - FILE_CHANGED=$(git diff --exit-code && echo false || echo true) + FILE_CHANGED=$(git diff --exit-code --quiet && echo false || echo true) echo "file_changed=$FILE_CHANGED" >> $GITHUB_OUTPUT echo "Chart version file changed: $FILE_CHANGED" env: