Skip to content

Commit e64f7ad

Browse files
committed
Fix main workflow
Checkout for `go test` was done with the wrong reference
1 parent ce83c7e commit e64f7ad

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/pipeline.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
steps:
5252
- name: Checkout
5353
uses: actions/checkout@v3
54+
with:
55+
ref: ${{ github.event.pull_request.head.sha }}
5456

5557
- name: Setup golang
5658
uses: actions/setup-go@v3
@@ -70,6 +72,9 @@ jobs:
7072
steps:
7173
- name: Checkout
7274
uses: actions/checkout@v3
75+
with:
76+
ref: ${{ github.event.pull_request.head.sha }}
77+
7378
- name: Complie manifests
7479
uses: azure/k8s-bake@v2
7580
with:
@@ -84,6 +89,8 @@ jobs:
8489
steps:
8590
- name: Checkout
8691
uses: actions/checkout@v3
92+
with:
93+
ref: ${{ github.event.pull_request.head.sha }}
8794

8895
- name: Login to Container Registry
8996
uses: docker/login-action@v2

0 commit comments

Comments
 (0)