Merge f6b63ceb9e
into ac59398561
This commit is contained in:
commit
a5b8a85232
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
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
Reference in a new issue