Skip to content

Commit 5e4e452

Browse files
committed
Fix the commit being checked out for tests 🤦
1 parent 105578d commit 5e4e452

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/e2e-test.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
paths: ${{ steps.filter.outputs.changes }}
5858
steps:
5959
- uses: actions/checkout@v4
60+
with:
61+
ref: ${{ github.event.pull_request.head.sha }}
6062
- name: Harden Runner
6163
uses: step-security/harden-runner@v2
6264
with:
@@ -113,6 +115,8 @@ jobs:
113115
linode.github.io:443
114116
115117
- uses: actions/checkout@v4
118+
with:
119+
ref: ${{ github.event.pull_request.head.sha }}
116120

117121
- name: Set up Go
118122
uses: actions/setup-go@v5

.github/workflows/pr-labeler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20+
ref: ${{ github.event.pull_request.head.sha }}
2021
- name: Label PR
2122
uses: release-drafter/release-drafter@v6
2223
with:

0 commit comments

Comments
 (0)