|
25 | 25 | - uses: actions/checkout@v7 |
26 | 26 | if: ${{ github.event.pull_request.head.sha }} |
27 | 27 | with: |
28 | | - ref: ${{ github.event.pull_request.head.sha }} |
| 28 | + ref: refs/heads/${{ github.event.pull_request.head.ref }} |
29 | 29 | repository: ${{ github.event.pull_request.head.repo.full_name }} |
30 | 30 | allow-unsafe-pr-checkout: true |
31 | 31 | - uses: actions/checkout@v7 |
|
67 | 67 | - uses: actions/checkout@v7 |
68 | 68 | if: ${{ github.event.pull_request.head.sha }} |
69 | 69 | with: |
70 | | - ref: ${{ github.event.pull_request.head.sha }} |
| 70 | + ref: refs/heads/${{ github.event.pull_request.head.ref }} |
71 | 71 | repository: ${{ github.event.pull_request.head.repo.full_name }} |
72 | 72 | allow-unsafe-pr-checkout: true |
73 | 73 | - uses: actions/checkout@v7 |
@@ -164,7 +164,7 @@ jobs: |
164 | 164 | - uses: actions/checkout@v7 |
165 | 165 | if: ${{ github.event.pull_request.head.sha }} |
166 | 166 | with: |
167 | | - ref: ${{ github.event.pull_request.head.sha }} |
| 167 | + ref: refs/heads/${{ github.event.pull_request.head.ref }} |
168 | 168 | repository: ${{ github.event.pull_request.head.repo.full_name }} |
169 | 169 | allow-unsafe-pr-checkout: true |
170 | 170 | - uses: actions/checkout@v7 |
@@ -370,7 +370,7 @@ jobs: |
370 | 370 | - uses: actions/checkout@v7 |
371 | 371 | if: ${{ github.event.pull_request.head.sha }} |
372 | 372 | with: |
373 | | - ref: ${{ github.event.pull_request.head.sha }} |
| 373 | + ref: refs/heads/${{ github.event.pull_request.head.ref }} |
374 | 374 | repository: ${{ github.event.pull_request.head.repo.full_name }} |
375 | 375 | allow-unsafe-pr-checkout: true |
376 | 376 | - uses: actions/checkout@v7 |
|
0 commit comments