diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c3b62f5..1ca7fb9 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -15,4 +15,4 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v2-beta
         with:
-          ref: refs/pull/${{ github.event.number }}/head
+          ref: ${{ github.event.after }}