3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-03-05 11:06:22 +00:00

Update README.md (#262)

This commit is contained in:
Tonye Jack 2021-11-29 16:02:29 -05:00 committed by GitHub
parent 243b81766a
commit fb46697b26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,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.
> * 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.
> * For monorepos were pulling all the branch history might not be desired the `fetch-depth` can be omitted for `pull_request` events.
```yaml
name: CI