diff --git a/.github/workflows/scalafmt.yml b/.github/workflows/scalafmt.yml index ed5c3d6ebc4..e4070f9d5ef 100644 --- a/.github/workflows/scalafmt.yml +++ b/.github/workflows/scalafmt.yml @@ -41,7 +41,7 @@ jobs: shell: bash - name: Run ScalaFmt run: | - if [[ ${{ steps.check-comment.outputs.comment-triggered }} == 'true' ]]; then + if [[ ${{ steps.check-comment.outputs.comment-triggered }} == true ]]; then echo "PR Comment Detected. Formatting, committing, and pushing formatted scala code. sbt scalaFmtAll git config --global user.email "${{ steps.check-comment.outputs.comment-author-email }}"