Skip to content

Automate browser based workflows with AI

turn off codeflash (#2614)

Shuchang Zheng64f885907c08
diff --git a/.github/workflows/codeflash.yaml b/.github/workflows/codeflash.yaml
index 33461af5f..ac168de72 100644
--- a/.github/workflows/codeflash.yaml
+++ b/.github/workflows/codeflash.yaml
@@ -12,8 +12,8 @@ concurrency:
jobs:
optimize:
name: Optimize new Python code in this PR
- # Don't run codeflash on codeflash-ai[bot] commits, prevent duplicate optimizations
- if: ${{ github.actor != 'codeflash-ai[bot]' }}
+ # Disable the workflow by adding a condition that will never be true
+ if: false
runs-on: ubuntu-latest
env:
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}