Update README.md

This commit is contained in:
Tonye Jack
2021-11-19 17:15:35 -05:00
committed by GitHub
parent 400b2ce7f5
commit 1622678cd7

View File

@@ -22,6 +22,7 @@ Retrieve all changed files relative to the default branch (`pull_request*` based
* Multiple repositories. * Multiple repositories.
* Self hosted runners. * Self hosted runners.
* GitHub Enterprise Server. * GitHub Enterprise Server.
* Monorepos (Fetches only the last remote commit)
* Supports all platforms. * Supports all platforms.
* List all files that have changed. * List all files that have changed.
* Between the current pull request branch and the default branch. * Between the current pull request branch and the default branch.
@@ -37,6 +38,7 @@ Retrieve all changed files relative to the default branch (`pull_request*` based
> >
> * **IMPORTANT:** For `push` events you need to include `fetch-depth: 0` **OR** `fetch-depth: 2` depending on your use case. > * **IMPORTANT:** For `push` events you need to include `fetch-depth: 0` **OR** `fetch-depth: 2` depending on your use case.
> * When using `persist-credentials: false` with `actions/checkout@v2` you'll need to specify a `token` using the `token` input. > * When using `persist-credentials: false` with `actions/checkout@v2` you'll need to specify a `token` using the `token` input.
> * For monorepos were pulling all the branch history might not be desired the `fetch-depth` can be omitted.
```yaml ```yaml
name: CI name: CI