From 3db99ce9383873c9dd0ce0619a374f266de7a24e Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Wed, 29 May 2024 10:00:26 +0200 Subject: [PATCH] os-extension-test: fix checkout ref (#210) The tests are now running against the PR code and not main branch. Co-authored-by: Alejandro Alvarez --- .github/workflows/os-extension-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/os-extension-test.yml b/.github/workflows/os-extension-test.yml index 70730488..8105c382 100644 --- a/.github/workflows/os-extension-test.yml +++ b/.github/workflows/os-extension-test.yml @@ -154,6 +154,8 @@ jobs: needs: build steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v4