mirror of
https://github.com/actions/checkout.git
synced 2026-03-07 08:51:46 +08:00
Compare commits
2 Commits
52b43e60da
...
ef39727b5f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef39727b5f | ||
|
|
f6b63ceb9e |
@ -287,7 +287,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
|
||||
```yaml
|
||||
- uses: actions/checkout@v5
|
||||
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