From 603a28d81ad0becd4cdbdd27586d1dc89b60be62 Mon Sep 17 00:00:00 2001 From: Tino Reichardt Date: Wed, 15 Mar 2023 23:37:56 +0100 Subject: [PATCH] Add git repo checkout to testing workflow Reviewed-by: George Melikov Reviewed-by: Brian Behlendorf Signed-off-by: Tino Reichardt Closes #14634 --- .github/workflows/zfs-linux-tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/zfs-linux-tests.yml b/.github/workflows/zfs-linux-tests.yml index b76c634e7236..f72ff7f5a73f 100644 --- a/.github/workflows/zfs-linux-tests.yml +++ b/.github/workflows/zfs-linux-tests.yml @@ -13,6 +13,9 @@ jobs: zloop: runs-on: ubuntu-${{ inputs.os }} steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} - uses: actions/download-artifact@v3 with: name: modules-${{ inputs.os }} @@ -50,6 +53,9 @@ jobs: sanity: runs-on: ubuntu-${{ inputs.os }} steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} - uses: actions/download-artifact@v3 with: name: modules-${{ inputs.os }} @@ -83,6 +89,9 @@ jobs: matrix: tests: [ part1, part2, part3, part4 ] steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} - uses: actions/download-artifact@v3 with: name: modules-${{ inputs.os }}