Skip to content

Commit 9319d3e

Browse files
authored
🐛 build/smoke test checkout action usage now checks out head of main branch (#342)
1 parent bf5e317 commit 9319d3e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
- name: Check out code
1919
uses: actions/[email protected]
2020
with:
21+
ref: ${{github.event.pull_request.head.ref}}
22+
repository: ${{github.event.pull_request.head.repo.full_name}}
2123
fetch-depth: 0
2224
submodules: true
2325

@@ -45,6 +47,8 @@ jobs:
4547
- name: Check out code
4648
uses: actions/[email protected]
4749
with:
50+
ref: ${{github.event.pull_request.head.ref}}
51+
repository: ${{github.event.pull_request.head.repo.full_name}}
4852
fetch-depth: 0
4953
submodules: true
5054

.github/workflows/smoke-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
- name: Check out code
2121
uses: actions/[email protected]
2222
with:
23+
ref: ${{github.event.pull_request.head.ref}}
24+
repository: ${{github.event.pull_request.head.repo.full_name}}
2325
fetch-depth: 0
2426
submodules: true
2527

0 commit comments

Comments
 (0)