From 9be78ecb6f26871261357740ea2680782f712ab7 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Tue, 6 Feb 2024 17:46:24 +0800 Subject: [PATCH] ci: checkout code from PR --- .github/workflows/rhel9-x86.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/rhel9-x86.yml b/.github/workflows/rhel9-x86.yml index ad1fecb..a563840 100644 --- a/.github/workflows/rhel9-x86.yml +++ b/.github/workflows/rhel9-x86.yml @@ -54,6 +54,12 @@ jobs: runs-on: ubuntu-latest steps: + - name: Clone repository + uses: actions/checkout@v4 + with: + ref: ${{ needs.pr-info.outputs.sha }} + fetch-depth: 0 + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v1 with: