diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b6ddb478..8f5b2d93 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,7 +31,7 @@ jobs: - name: "Checkout" uses: actions/checkout@v4 with: - ref: ${{github.event.pull_request.head.ref}} + ref: ${{github.event.pull_request.head.sha}} repository: ${{github.event.pull_request.head.repo.full_name}} fetch-depth: 0 @@ -110,7 +110,7 @@ jobs: - name: "Checkout" uses: actions/checkout@v4 with: - ref: ${{github.event.pull_request.head.ref}} + ref: ${{github.event.pull_request.head.sha}} repository: ${{github.event.pull_request.head.repo.full_name}} fetch-depth: 0 @@ -146,4 +146,4 @@ jobs: - name: "Run Environment Cleanup" shell: pwsh run: | - ./src/tests/Pester.ps1 -CleanupEnvironment $true \ No newline at end of file + ./src/tests/Pester.ps1 -CleanupEnvironment $true