mirror of
https://github.com/actions/checkout.git
synced 2024-04-27 16:57:09 +08:00
Merge f6b63ceb9e
into b4ffde65f4
This commit is contained in:
commit
a6f51b192c
@ -246,7 +246,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
|
|||||||
```yaml
|
```yaml
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha || github.ref }}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Checkout pull request on closed event
|
## Checkout pull request on closed event
|
||||||
|
Loading…
Reference in New Issue
Block a user