Skip to content

Automate browser based workflows with AI

Re-enable codeflash optimizations (#2891)

Saurabh Misrad63053835f4b
diff --git a/.github/workflows/codeflash.yaml b/.github/workflows/codeflash.yaml
index ac168de72..06e38fdec 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 }}