mirror of
http://gitea.com/actions/checkout
synced 2024-11-30 21:22:26 +08:00
Update README.md
This commit is contained in:
parent
4c4d2b5a39
commit
f16eddee84
@ -226,7 +226,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: refs/pull/${{ github.event.pull_request.number }}/head
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||||
```
|
```
|
||||||
|
|
||||||
**WARNING! NEVER** run code from pull requests of public repositories! The token of `pull_request_target` event has write access.
|
**WARNING! NEVER** run code from pull requests of public repositories! The token of `pull_request_target` event has write access.
|
||||||
|
Loading…
Reference in New Issue
Block a user