From ed8b5730903a9e94cc3e8d0f7f429a796d0a09d3 Mon Sep 17 00:00:00 2001
From: Athanasius <github@miggy.org>
Date: Fri, 9 Apr 2021 19:46:30 +0100
Subject: [PATCH] pr-checks: Use github.head.sha for checkout ref

---
 .github/workflows/pr-checks.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml
index 8868a62d..eb173a6e 100644
--- a/.github/workflows/pr-checks.yml
+++ b/.github/workflows/pr-checks.yml
@@ -29,7 +29,8 @@ jobs:
     - name: Checkout head commits
       # https://github.com/actions/checkout
       uses: actions/checkout@v2
-        #with:
+      with:
+        ref: ${{github.head.sha}}
         #repository: ${{github.event.pull_request.head.repo.full_name}}
         #fetch-depth: 0