Skip to content

Commit 2d1a4ad

Browse files
committed
run for base sha, oops
1 parent fd6faef commit 2d1a4ad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,10 @@ jobs:
434434
timeout-minutes: 10
435435
runs-on: ubuntu-20.04
436436
steps:
437-
- name: Check out head commit (${{ github.event.pull_request.head.sha }})
437+
- name: Check out head commit (${{ github.event.pull_request.base.sha }})
438438
uses: actions/checkout@v4
439439
with:
440-
ref: ${{ github.event.pull_request.head.sha }}
440+
ref: ${{ github.event.pull_request.base.sha }}
441441

442442
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
443443
uses: actions/checkout@v4
@@ -533,10 +533,10 @@ jobs:
533533
matrix:
534534
node: [14, 16, 18, 20, 22]
535535
steps:
536-
- name: Check out head commit (${{ github.event.pull_request.head.sha }})
536+
- name: Check out head commit (${{ github.event.pull_request.base.sha }})
537537
uses: actions/checkout@v4
538538
with:
539-
ref: ${{ github.event.pull_request.head.sha }}
539+
ref: ${{ github.event.pull_request.base.sha }}
540540
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
541541
uses: actions/checkout@v4
542542
with:
@@ -551,7 +551,7 @@ jobs:
551551
DEPENDENCY_CACHE_KEY: ${{ needs.job_build.outputs.dependency_cache_key }}
552552

553553
- name: Run affected tests
554-
run: yarn test:pr:node --base=${{ github.event.pull_request.head.sha }}
554+
run: yarn test:pr:node --base=${{ github.event.pull_request.base.sha }}
555555
if: github.event_name == 'pull_request'
556556
env:
557557
NODE_VERSION: ${{ matrix.node }}

0 commit comments

Comments
 (0)