Skip to content

Commit df49a11

Browse files
authored
Checkout target branch on smoke tests (#283)
1 parent eb33312 commit df49a11

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/smoke.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
SMOKE_TEST_ENABLE_${{ matrix.provider }}: true
3131
steps:
3232
- uses: actions/checkout@v2
33+
with:
34+
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3335
- uses: actions/setup-go@v2
3436
with:
3537
go-version: ^1.17
@@ -54,6 +56,8 @@ jobs:
5456
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
5557
steps:
5658
- uses: actions/checkout@v2
59+
with:
60+
ref: ${{ github.event.pull_request.head.sha || github.ref }}
5761
- uses: actions/setup-go@v2
5862
with:
5963
go-version: ^1.17

0 commit comments

Comments
 (0)