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 }}