mirror of
https://github.com/actions/checkout.git
synced 2026-06-19 18:57:20 +08:00
Merge f6b63ceb9e79ee917ff77ed8ef9f79097ad2cfc6 into 900f2210b1d28bbbd0bd22d17926b9e224e8f231
This commit is contained in:
commit
8f334c31d9
@ -295,7 +295,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
|
|||||||
```yaml
|
```yaml
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
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…
x
Reference in New Issue
Block a user