mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-08-23 15:30:49 +02:00
Merge f6b63ceb9e
into ff7abcd0c3
This commit is contained in:
commit
ef39727b5f
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
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…
Add table
Add a link
Reference in a new issue