mirror of
https://github.com/actions/checkout.git
synced 2024-11-22 22:39:19 +08:00
Document update: Checkout PR head sha (#102)
This commit is contained in:
parent
5881116d18
commit
cab31617d8
@ -89,7 +89,7 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
|
|||||||
```yaml
|
```yaml
|
||||||
- uses: actions/checkout@v2-beta
|
- uses: actions/checkout@v2-beta
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.after }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
```
|
```
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
Loading…
Reference in New Issue
Block a user