mirror of
https://github.com/actions/checkout.git
synced 2026-03-20 18:50:14 +00:00
Merge f6b63ceb9e into 97a652b800
This commit is contained in:
commit
2797ff1ea9
@ -239,7 +239,7 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
|
||||
```yaml
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
ref: ${{ github.event.pull_request.head.sha || github.ref }}
|
||||
```
|
||||
|
||||
## Checkout pull request on closed event
|
||||
|
||||
Loading…
Reference in New Issue
Block a user