mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-21 01:00:16 +03:00
Compare commits
3 commits
deaad4ce8a
...
0bba011be3
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0bba011be3 | ||
![]() |
cbb722410c | ||
![]() |
79a832ff0d |
1 changed files with 6 additions and 2 deletions
|
@ -35,6 +35,10 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
|
||||||
#
|
#
|
||||||
# We recommend using a service account with the least permissions necessary. Also
|
# We recommend using a service account with the least permissions necessary. Also
|
||||||
# when generating a new PAT, select the least scopes necessary.
|
# when generating a new PAT, select the least scopes necessary.
|
||||||
|
# For a basic restricted reference, you can use the same permissions as the
|
||||||
|
# [`GITHUB_TOKEN` gives.](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token)
|
||||||
|
# This means creating a "Fine-grained personal access token" with the
|
||||||
|
# `content` and `metadata` permissions.
|
||||||
#
|
#
|
||||||
# [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
|
# [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
|
||||||
#
|
#
|
||||||
|
@ -212,7 +216,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
|
||||||
repository: my-org/my-tools
|
repository: my-org/my-tools
|
||||||
path: my-tools
|
path: my-tools
|
||||||
```
|
```
|
||||||
> - If your secondary repository is private you will need to add the option noted in [Checkout multiple repos (private)](#Checkout-multiple-repos-private)
|
> - If your secondary repository is private or internal you will need to add the option noted in [Checkout multiple repos (private)](#Checkout-multiple-repos-private)
|
||||||
|
|
||||||
## Checkout multiple repos (nested)
|
## Checkout multiple repos (nested)
|
||||||
|
|
||||||
|
@ -226,7 +230,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
|
||||||
repository: my-org/my-tools
|
repository: my-org/my-tools
|
||||||
path: my-tools
|
path: my-tools
|
||||||
```
|
```
|
||||||
> - If your secondary repository is private you will need to add the option noted in [Checkout multiple repos (private)](#Checkout-multiple-repos-private)
|
> - If your secondary repository is private or internal you will need to add the option noted in [Checkout multiple repos (private)](#Checkout-multiple-repos-private)
|
||||||
|
|
||||||
## Checkout multiple repos (private)
|
## Checkout multiple repos (private)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue