We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19dcbfb commit fc3795cCopy full SHA for fc3795c
codeflash/cli_cmds/workflows/codeflash-optimize.yaml
@@ -17,7 +17,11 @@ jobs:
17
optimize:
18
name: Optimize new Python code
19
# Don't run codeflash on codeflash-ai[bot] commits, prevent duplicate optimizations
20
- if: ${{ github.actor != 'codeflash-ai[bot]' }}
+ # Also skip if 'codeflash:skip' label is present
21
+ if: ${{
22
+ github.actor != 'codeflash-ai[bot]' &&
23
+ !contains(github.event.pull_request.labels.*.name, 'codeflash:skip')
24
+ }}
25
runs-on: ubuntu-latest
26
env:
27
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}
0 commit comments