Browse Source

Fix get version form PR's

jspijker 2 years ago
parent
commit
73ac7fa716
1 changed files with 1 additions and 2 deletions
  1. 1 2
      .github/workflows/conan-recipe-version.yml

+ 1 - 2
.github/workflows/conan-recipe-version.yml

@@ -67,8 +67,7 @@ jobs:
                 if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
                 with:
                     fetch-depth: 0
-                    ref: ${{ github.event.pull_request.head.ref }}
-                    repository: ${{ github.event.pull_request.head.repo.full_name }}
+                    ref: ${{ github.base_ref }}
 
             -   name: Setup Python and pip
                 uses: actions/setup-python@v4