Skip to content

Commit 273306c

Browse files
committed
Remove uneccessary checkout and avoid race condition
1 parent 5a1ccb7 commit 273306c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,7 @@ jobs:
7979
- name: Fork based /ok-to-test checkout
8080
uses: actions/checkout@v4
8181
with:
82-
ref: 'refs/pull/${{ github.event.client_payload.pull_request.number }}/merge'
83-
84-
85-
- uses: actions/checkout@v4
82+
ref: ${{ github.event.client_payload.pull_request.head.sha }}
8683

8784
- name: Set up Python
8885
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)