File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4040 filters : .github/filters.yml
4141
4242 go-test :
43- environment : ${{ github.event.pull_request.head.repo.fork == true && 'prod-external' || 'prod' }}
43+ environment : ${{ ( github.event_name == 'pull_request_target' && github. event.pull_request.head.repo.full_name != github.repository) && 'prod-external' || 'prod' }}
4444 runs-on : ubuntu-latest
4545 needs : changes
4646 if : ${{ contains(fromJSON(needs.changes.outputs.paths), 'src') }}
@@ -100,6 +100,6 @@ jobs:
100100 uses : ./.github/workflows/e2e-test.yaml
101101 secrets : inherit
102102 with :
103- environment : ${{ github.event.pull_request.head.repo.fork == true && 'prod-external' || 'prod' }}
103+ environment : ${{ ( github.event_name == 'pull_request_target' && github. event.pull_request.head.repo.full_name != github.repository) && 'prod-external' || 'prod' }}
104104 e2e-selector : ${{ matrix.flavor }}
105105 e2e-flags : ${{ matrix.flavor == 'quick' && '' || '--assert-timeout 20m0s'}}
You can’t perform that action at this time.
0 commit comments