1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-29 22:52:59 +02:00
This commit is contained in:
Nick Schonning 2022-12-22 21:59:54 +00:00 committed by GitHub
commit 9c14e19153
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 247 additions and 211 deletions

View file

@ -18,6 +18,7 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
# Usage
<!-- start usage -->
```yaml
- uses: actions/checkout@v3
with:
@ -102,6 +103,7 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
# https://my-ghes-server.example.com
github-server-url: ''
```
<!-- end usage -->
# Scenarios
@ -189,7 +191,6 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
> - `${{ github.token }}` is scoped to the current repository, so if you want to checkout a different repository that is private you will need to provide your own [PAT](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line).
## Checkout pull request HEAD commit instead of merge commit
```yaml