11name : fVDB CUDA 12.8.1 Build and Test
22
33on :
4- pull_request_target :
4+ pull_request :
55 branches :
66 - ' **'
77 paths-ignore :
7979 fetch-depth : 0 # Fetch all history for all branches
8080 # For pull requests, this automatically checks out the merge commit
8181 # For pushes, this checks out the pushed commit
82- ref : ${{ github.event_name == 'pull_request_target ' && github.event.pull_request.base.ref || github.ref }}
82+ ref : ${{ github.event_name == 'pull_request ' && github.event.pull_request.base.ref || github.ref }}
8383 - name : Fetch PR branch
84- if : github.event_name == 'pull_request_target '
84+ if : github.event_name == 'pull_request '
8585 run : |
8686 cd $GITHUB_WORKSPACE
8787 git config --global user.name "github-actions[bot]"
9191 git fetch origin pull/${{ github.event.pull_request.number }}/head:pr_branch
9292
9393 - name : Merge PR branch into base
94- if : github.event_name == 'pull_request_target '
94+ if : github.event_name == 'pull_request '
9595 run : |
9696 cd $GITHUB_WORKSPACE
9797 git merge pr_branch
@@ -229,7 +229,7 @@ jobs:
229229 name : fVDB GTests
230230 runs-on : ${{ needs.start-tests-gpu-runner.outputs.label }} # run the job on the newly created runner
231231 container :
232- image : nvidia/cuda:12.8.1-cudnn-devel -ubuntu22.04
232+ image : nvidia/cuda:12.8.1-cudnn-runtime -ubuntu22.04
233233 env :
234234 PYTHONPATH : " "
235235 CPM_SOURCE_CACHE : " /__w/cpm_cache"
@@ -246,9 +246,9 @@ jobs:
246246 fetch-depth : 0 # Fetch all history for all branches
247247 # For pull requests, this automatically checks out the merge commit
248248 # For pushes, this checks out the pushed commit
249- ref : ${{ github.event_name == 'pull_request_target ' && github.event.pull_request.base.ref || github.ref }}
249+ ref : ${{ github.event_name == 'pull_request ' && github.event.pull_request.base.ref || github.ref }}
250250 - name : Fetch PR branch
251- if : github.event_name == 'pull_request_target '
251+ if : github.event_name == 'pull_request '
252252 run : |
253253 cd $GITHUB_WORKSPACE
254254 git config --global user.name "github-actions[bot]"
@@ -258,7 +258,7 @@ jobs:
258258 git fetch origin pull/${{ github.event.pull_request.number }}/head:pr_branch
259259
260260 - name : Merge PR branch into base
261- if : github.event_name == 'pull_request_target '
261+ if : github.event_name == 'pull_request '
262262 run : |
263263 cd $GITHUB_WORKSPACE
264264 git merge pr_branch
@@ -348,10 +348,10 @@ jobs:
348348 fetch-depth : 0 # Fetch all history for all branches
349349 # For pull requests, this automatically checks out the merge commit
350350 # For pushes, this checks out the pushed commit
351- ref : ${{ github.event_name == 'pull_request_target ' && github.event.pull_request.base.ref || github.ref }}
351+ ref : ${{ github.event_name == 'pull_request ' && github.event.pull_request.base.ref || github.ref }}
352352
353353 - name : Fetch PR branch
354- if : github.event_name == 'pull_request_target '
354+ if : github.event_name == 'pull_request '
355355 run : |
356356 cd $GITHUB_WORKSPACE
357357 git config --global user.name "github-actions[bot]"
@@ -361,7 +361,7 @@ jobs:
361361 git fetch origin pull/${{ github.event.pull_request.number }}/head:pr_branch
362362
363363 - name : Merge PR branch into base
364- if : github.event_name == 'pull_request_target '
364+ if : github.event_name == 'pull_request '
365365 run : |
366366 cd $GITHUB_WORKSPACE
367367 git merge pr_branch
@@ -421,7 +421,7 @@ jobs:
421421 name : fVDB Documentation Tests
422422 runs-on : ${{ needs.start-tests-gpu-runner.outputs.label }} # run the job on the newly created runner
423423 container :
424- image : nvidia/cuda:12.8.1-cudnn-devel -ubuntu22.04
424+ image : nvidia/cuda:12.8.1-cudnn-runtime -ubuntu22.04
425425 env :
426426 PYTHONPATH : " "
427427 options : --rm
@@ -437,10 +437,10 @@ jobs:
437437 fetch-depth : 0 # Fetch all history for all branches
438438 # For pull requests, this automatically checks out the merge commit
439439 # For pushes, this checks out the pushed commit
440- ref : ${{ github.event_name == 'pull_request_target ' && github.event.pull_request.base.ref || github.ref }}
440+ ref : ${{ github.event_name == 'pull_request ' && github.event.pull_request.base.ref || github.ref }}
441441
442442 - name : Fetch PR branch
443- if : github.event_name == 'pull_request_target '
443+ if : github.event_name == 'pull_request '
444444 run : |
445445 cd $GITHUB_WORKSPACE
446446 git config --global user.name "github-actions[bot]"
@@ -450,7 +450,7 @@ jobs:
450450 git fetch origin pull/${{ github.event.pull_request.number }}/head:pr_branch
451451
452452 - name : Merge PR branch into base
453- if : github.event_name == 'pull_request_target '
453+ if : github.event_name == 'pull_request '
454454 run : |
455455 cd $GITHUB_WORKSPACE
456456 git merge pr_branch
0 commit comments