From 8ea6678c25cecbc005686487b64cdd13bb8367e0 Mon Sep 17 00:00:00 2001 From: JinnyYi <82445294+JinnyYi@users.noreply.github.com> Date: Thu, 15 Jul 2021 18:22:05 +0800 Subject: [PATCH] ci: Fix checkout wrong commit in auto-build (#12) --- .github/workflows/auto-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/auto-build.yml b/.github/workflows/auto-build.yml index 2158343..c0a90c9 100644 --- a/.github/workflows/auto-build.yml +++ b/.github/workflows/auto-build.yml @@ -23,6 +23,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Auto build run: make build