Compare commits

...

3 Commits

Author SHA1 Message Date
John Hill
c4766e2fc0
Merge cd866a98fbf90f0c35f81de563bdd40b4155e4ff into cbb722410c2e876e24abbe8de2cc27693e501dcb 2024-11-15 10:02:41 +05:30
Mohammad Ismail
cbb722410c
Update README.md (#1977)
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
Licensed / Check licenses (push) Has been cancelled
Build and Test / build (push) Has been cancelled
Build and Test / test (macos-latest) (push) Has been cancelled
Build and Test / test (ubuntu-latest) (push) Has been cancelled
Build and Test / test (windows-latest) (push) Has been cancelled
Build and Test / test-proxy (push) Has been cancelled
Build and Test / test-bypass-proxy (push) Has been cancelled
Build and Test / test-git-container (push) Has been cancelled
Build and Test / test-output (push) Has been cancelled
2024-11-14 10:41:00 -05:00
John Hill
cd866a98fb
Improve multi-repo checkout behavior 2022-10-21 11:06:00 -07:00

View File

@ -212,10 +212,12 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
repository: my-org/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)
Note: the checkout order must be primary _then_ secondary repo checkout.
```yaml
- name: Checkout
uses: actions/checkout@v4
@ -226,10 +228,12 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
repository: my-org/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)
Note: the checkout order must be primary _then_ secondary repo checkout.
```yaml
- name: Checkout
uses: actions/checkout@v4