From d63053835f4ba0c4dfed64693c138427b136ec2a Mon Sep 17 00:00:00 2001 From: Saurabh Misra Date: Mon, 7 Jul 2025 19:25:02 -0700 Subject: [PATCH] Re-enable codeflash optimizations (#2891) --- .github/workflows/codeflash.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/codeflash.yaml b/.github/workflows/codeflash.yaml index ac168de7..06e38fde 100644 --- a/.github/workflows/codeflash.yaml +++ b/.github/workflows/codeflash.yaml @@ -12,8 +12,7 @@ concurrency: jobs: optimize: name: Optimize new Python code in this PR - # Disable the workflow by adding a condition that will never be true - if: false + if: ${{ github.actor != 'codeflash-ai[bot]' }} runs-on: ubuntu-latest env: CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}