Skip to content

Commit 162c855

Browse files
committed
try fix with env variable
1 parent c1302e1 commit 162c855

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ 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: >-
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

0 commit comments

Comments
 (0)