Skip to content

Commit b13a6c7

Browse files
committed
try this other way to work around it
1 parent af9030a commit b13a6c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ jobs:
6262

6363
steps:
6464
- uses: actions/checkout@v4
65+
if: ${{ github.event_name == 'pull_request' }}
66+
with:
67+
ref: ${{ github.event.pull_request.head.sha }}
68+
69+
- uses: actions/checkout@v4
70+
if: ${{ github.event_name == 'push' }}
6571

6672
# setup .NET per the repo global.json
6773
- name: Setup .NET

0 commit comments

Comments
 (0)