Skip to content

Commit 2b9336b

Browse files
committed
Add with ref to checkout action
1 parent 8ab7068 commit 2b9336b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/testing-farm.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
steps:
1919
- name: Checkout repository
2020
uses: actions/checkout@v4
21+
with:
22+
ref: "refs/pull/${{ github.event.issue.number }}/head"
2123

2224
- name: Test init on Fedora VM
2325
uses: sclorg/testing-farm-as-github-action@v4
@@ -40,6 +42,8 @@ jobs:
4042
steps:
4143
- name: Checkout repository
4244
uses: actions/checkout@v4
45+
with:
46+
ref: "refs/pull/${{ github.event.issue.number }}/head"
4347

4448
- name: Test upgrade on Fedora VM
4549
uses: sclorg/testing-farm-as-github-action@v4
@@ -51,4 +55,3 @@ jobs:
5155
pull_request_status_name: "Fedora upgrade test"
5256
update_pull_request_status: "true"
5357
create_github_summary: "true"
54-

0 commit comments

Comments
 (0)