Skip to content

Commit fe49287

Browse files
committed
Merge branch 'main' into fix-tiktoken-version
2 parents 0980ada + 378d88b commit fe49287

8 files changed

+14
-56
lines changed

.github/workflows/codeflash-optimize.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +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: ${{
19-
github.event_name == 'workflow_dispatch' ||
20-
contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
21-
github.event.pull_request.user.login != 'misrasaurabh1' &&
22-
github.event.pull_request.user.login != 'KRRT7'
23-
? 'external-trusted-contributors' : ''
24-
}}
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' || '' }}
2519
if: ${{ github.actor != 'codeflash-ai[bot]' }}
2620
runs-on: ubuntu-latest
2721
env:

.github/workflows/end-to-end-test-bubblesort-pytest-no-git.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@ on:
1111
jobs:
1212
bubble-sort-optimization-pytest-no-git:
1313
# Dynamically determine if environment is needed only when workflow files change and contributor is external
14-
environment: ${{
15-
github.event_name == 'workflow_dispatch' ||
16-
contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
17-
github.event.pull_request.user.login != 'misrasaurabh1' &&
18-
github.event.pull_request.user.login != 'KRRT7'
19-
? 'external-trusted-contributors': ''
20-
}}
14+
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' || '' }}
15+
2116
runs-on: ubuntu-latest
2217
env:
2318
CODEFLASH_AIS_SERVER: prod

.github/workflows/end-to-end-test-bubblesort-unittest.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@ on:
1111
jobs:
1212
bubble-sort-optimization-unittest:
1313
# Dynamically determine if environment is needed only when workflow files change and contributor is external
14-
environment: ${{
15-
github.event_name == 'workflow_dispatch' ||
16-
contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
17-
github.event.pull_request.user.login != 'misrasaurabh1' &&
18-
github.event.pull_request.user.login != 'KRRT7'
19-
? 'external-trusted-contributors': ''
20-
}}
14+
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' || '' }}
15+
2116
runs-on: ubuntu-latest
2217
env:
2318
CODEFLASH_AIS_SERVER: prod

.github/workflows/end-to-end-test-coverage.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@ on:
1111
jobs:
1212
end-to-end-test-coverage:
1313
# Dynamically determine if environment is needed only when workflow files change and contributor is external
14-
environment: ${{
15-
github.event_name == 'workflow_dispatch' ||
16-
contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
17-
github.event.pull_request.user.login != 'misrasaurabh1' &&
18-
github.event.pull_request.user.login != 'KRRT7'
19-
? 'external-trusted-contributors': ''
20-
}}
14+
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' || '' }}
15+
2116
runs-on: ubuntu-latest
2217
env:
2318
CODEFLASH_AIS_SERVER: prod

.github/workflows/end-to-end-test-futurehouse.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@ on:
1111
jobs:
1212
futurehouse-structure:
1313
# Dynamically determine if environment is needed only when workflow files change and contributor is external
14-
environment: ${{
15-
github.event_name == 'workflow_dispatch' ||
16-
contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
17-
github.event.pull_request.user.login != 'misrasaurabh1' &&
18-
github.event.pull_request.user.login != 'KRRT7'
19-
? 'external-trusted-contributors': ''
20-
}}
14+
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' || '' }}
15+
2116
runs-on: ubuntu-latest
2217
env:
2318
CODEFLASH_AIS_SERVER: prod

.github/workflows/end-to-end-test-init-optim.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,8 @@ on:
1010
jobs:
1111
init-optimization:
1212
# Dynamically determine if environment is needed only when workflow files change and contributor is external
13-
environment: ${{
14-
github.event_name == 'workflow_dispatch' ||
15-
contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
16-
github.event.pull_request.user.login != 'misrasaurabh1' &&
17-
github.event.pull_request.user.login != 'KRRT7'
18-
? 'external-trusted-contributors': ''
19-
}}
13+
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' || '' }}
14+
2015
runs-on: ubuntu-latest
2116
env:
2217
CODEFLASH_AIS_SERVER: prod

.github/workflows/end-to-end-test-tracer-replay.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,8 @@ on:
1010
jobs:
1111
tracer-replay:
1212
# Dynamically determine if environment is needed only when workflow files change and contributor is external
13-
environment: ${{
14-
github.event_name == 'workflow_dispatch' ||
15-
contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
16-
github.event.pull_request.user.login != 'misrasaurabh1' &&
17-
github.event.pull_request.user.login != 'KRRT7'
18-
? 'external-trusted-contributors': ''
19-
}}
13+
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' || '' }}
14+
2015
runs-on: ubuntu-latest
2116
env:
2217
CODEFLASH_AIS_SERVER: prod

.github/workflows/end-to-end-topological-sort-test.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,7 @@ on:
1111
jobs:
1212
topological-sort-optimization:
1313
# Dynamically determine if environment is needed only when workflow files change and contributor is external
14-
environment: ${{
15-
github.event_name == 'workflow_dispatch' ||
16-
contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
17-
github.event.pull_request.user.login != 'misrasaurabh1' &&
18-
github.event.pull_request.user.login != 'KRRT7'
19-
? 'external-trusted-contributors': ''
20-
}}
14+
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' || '' }}
2115
runs-on: ubuntu-latest
2216
env:
2317
CODEFLASH_AIS_SERVER: prod

0 commit comments

Comments
 (0)