File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed 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