Skip to content

Commit

Permalink
Update test checkout reference (#835)
Browse files Browse the repository at this point in the history
* Update tests.yml

* subonly
  • Loading branch information
daltondhcp authored Dec 6, 2023
1 parent d34b87f commit 7c13d2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -146,4 +146,4 @@ jobs:
- name: "Run Environment Cleanup"
shell: pwsh
run: |
./src/tests/Pester.ps1 -CleanupEnvironment $true
./src/tests/Pester.ps1 -CleanupEnvironment $true

0 comments on commit 7c13d2d

Please sign in to comment.