mirror of
https://github.com/actions/checkout.git
synced 2026-03-15 10:43:28 +08:00
Merge f6b63ceb9e79ee917ff77ed8ef9f79097ad2cfc6 into 0c366fd6a839edf440554fa01a7085ccba70ac98
This commit is contained in:
commit
e0bd9abd4e
@ -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