File tree Expand file tree Collapse file tree 8 files changed +64
-56
lines changed Expand file tree Collapse file tree 8 files changed +64
-56
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,14 @@ 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 : >-
19+ ${{
20+ github.event_name == 'workflow_dispatch' ||
21+ contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
22+ github.event.pull_request.user.login != 'misrasaurabh1' &&
23+ github.event.pull_request.user.login != 'KRRT7'
24+ ? 'external-trusted-contributors': ''
25+ }}
2526 if : ${{ github.actor != 'codeflash-ai[bot]' }}
2627 runs-on : ubuntu-latest
2728 env :
Original file line number Diff line number Diff line change 1111jobs :
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 : >-
15+ ${{
16+ github.event_name == 'workflow_dispatch' ||
17+ contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
18+ github.event.pull_request.user.login != 'misrasaurabh1' &&
19+ github.event.pull_request.user.login != 'KRRT7'
20+ ? 'external-trusted-contributors': ''
21+ }}
2122 runs-on : ubuntu-latest
2223 env :
2324 CODEFLASH_AIS_SERVER : prod
Original file line number Diff line number Diff line change 1111jobs :
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 : >-
15+ ${{
16+ github.event_name == 'workflow_dispatch' ||
17+ contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
18+ github.event.pull_request.user.login != 'misrasaurabh1' &&
19+ github.event.pull_request.user.login != 'KRRT7'
20+ ? 'external-trusted-contributors': ''
21+ }}
2122 runs-on : ubuntu-latest
2223 env :
2324 CODEFLASH_AIS_SERVER : prod
Original file line number Diff line number Diff line change 1111jobs :
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 : >-
15+ ${{
16+ github.event_name == 'workflow_dispatch' ||
17+ contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
18+ github.event.pull_request.user.login != 'misrasaurabh1' &&
19+ github.event.pull_request.user.login != 'KRRT7'
20+ ? 'external-trusted-contributors': ''
21+ }}
2122 runs-on : ubuntu-latest
2223 env :
2324 CODEFLASH_AIS_SERVER : prod
Original file line number Diff line number Diff line change 1111jobs :
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 : >-
15+ ${{
16+ github.event_name == 'workflow_dispatch' ||
17+ contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
18+ github.event.pull_request.user.login != 'misrasaurabh1' &&
19+ github.event.pull_request.user.login != 'KRRT7'
20+ ? 'external-trusted-contributors': ''
21+ }}
2122 runs-on : ubuntu-latest
2223 env :
2324 CODEFLASH_AIS_SERVER : prod
Original file line number Diff line number Diff line change 1010jobs :
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 : >-
14+ ${{
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+ }}
2021 runs-on : ubuntu-latest
2122 env :
2223 CODEFLASH_AIS_SERVER : prod
Original file line number Diff line number Diff line change 1010jobs :
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 : >-
14+ ${{
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+ }}
2021 runs-on : ubuntu-latest
2122 env :
2223 CODEFLASH_AIS_SERVER : prod
Original file line number Diff line number Diff line change 1111jobs :
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 : >-
15+ ${{
16+ github.event_name == 'workflow_dispatch' ||
17+ contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') &&
18+ github.event.pull_request.user.login != 'misrasaurabh1' &&
19+ github.event.pull_request.user.login != 'KRRT7'
20+ ? 'external-trusted-contributors': ''
21+ }}
2122 runs-on : ubuntu-latest
2223 env :
2324 CODEFLASH_AIS_SERVER : prod
You can’t perform that action at this time.
0 commit comments