We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a86a728 commit f70af1fCopy full SHA for f70af1f
1 file changed
.github/workflows/cicd-main.yml
@@ -315,6 +315,11 @@ jobs:
315
matrix:
316
flag: [unit-test, e2e]
317
steps:
318
+ - name: Get PR info
319
+ id: get-pr-info
320
+ if: startsWith(github.ref, 'refs/heads/pull-request/')
321
+ uses: nv-gha-runners/get-pr-info@main
322
+
323
- name: Checkout
324
uses: actions/checkout@v6
325
@@ -348,6 +353,7 @@ jobs:
348
353
verbose: true
349
354
flags: ${{ matrix.flag }}
350
355
fail_ci_if_error: true
356
+ base_sha: ${{ fromJSON(steps.get-pr-info.outputs.pr-info || '{}').base.sha }}
351
357
352
358
- name: Upload artifacts
359
uses: actions/upload-artifact@v6
0 commit comments