Skip to content

Commit 233cf31

Browse files
committed
attempt removing --benchmark from workflow
1 parent 92ecdc7 commit 233cf31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/codeflash-optimize.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
optimize:
1616
name: Optimize new Python code
1717
# Dynamically determine if environment is needed only when workflow files change and contributor is external
18-
environment: ${{ (github.event_name == 'workflow_dispatch' || (contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') && github.event.pull_request.user.login != 'misrasaurabh1' && github.event.pull_request.user.login != 'KRRT7')) && 'external-trusted-contributors' || '' }}
18+
environment: ${{ (github.event_name == 'workflow_dispatch' || (contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') && github.event.pull_request.user.login != 'misrasaurabh1' && github.event.pull_request.user.login != 'KRRT7' && github.event.pull_request.user.login != 'alvin-r')) && 'external-trusted-contributors' || '' }}
1919
if: ${{ github.actor != 'codeflash-ai[bot]' }}
2020
runs-on: ubuntu-latest
2121
env:
@@ -40,7 +40,7 @@ jobs:
4040
echo "PR Author: $AUTHOR"
4141
4242
# Allowlist check
43-
if [[ "$AUTHOR" == "misrasaurabh1" || "$AUTHOR" == "KRRT7" ]]; then
43+
if [[ "$AUTHOR" == "misrasaurabh1" || "$AUTHOR" == "KRRT7" || "$AUTHOR" == "alvin-r"]]; then
4444
echo "✅ Authorized user ($AUTHOR). Proceeding."
4545
elif [[ "${{ github.event.pull_request.state }}" == "open" ]]; then
4646
echo "✅ PR is open. Proceeding with appropriate protections."
@@ -68,4 +68,4 @@ jobs:
6868
id: optimize_code
6969
run: |
7070
source .venv/bin/activate
71-
poetry run codeflash --benchmark
71+
poetry run codeflash

0 commit comments

Comments
 (0)