This commit is contained in:
Alfonso Acosta 2023-08-29 17:18:41 +01:00 committed by GitHub
commit 2797ff1ea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,7 +239,7 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
```yaml
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
ref: ${{ github.event.pull_request.head.sha || github.ref }}
```
## Checkout pull request on closed event