diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 26046e447d9..7337431364f 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -92,7 +92,7 @@ jobs: - name: Save commit hash id: save-commit-hash run: | - if [ "${{ steps.create-commit.outputs.changes_detected || 'unknown' }}" == "true" ]; then + if [ "${{ steps.create-commit.outputs.changes_detected || 'unknown' }}" = "true" ]; then echo '::set-output name=commit_hash::${{ steps.create-commit.outputs.commit_hash }}' else echo "::set-output name=commit_hash::${GITHUB_SHA}"