Skip to content

Commit d70f2ec

Browse files
committed
checkout head commits too?
1 parent 3d7f0d8 commit d70f2ec

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,11 @@ jobs:
434434
timeout-minutes: 10
435435
runs-on: ubuntu-20.04
436436
steps:
437+
- name: Check out head commit (${{ github.base_ref }})
438+
uses: actions/checkout@v4
439+
with:
440+
ref: ${{ github.base_ref }}
441+
437442
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
438443
uses: actions/checkout@v4
439444
with:
@@ -528,6 +533,10 @@ jobs:
528533
matrix:
529534
node: [14, 16, 18, 20, 22]
530535
steps:
536+
- name: Check out head commit (${{ github.base_ref }})
537+
uses: actions/checkout@v4
538+
with:
539+
ref: ${{ github.base_ref }}
531540
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
532541
uses: actions/checkout@v4
533542
with:

0 commit comments

Comments
 (0)