From 8d86a18fbcfe11f5714c4c86582d0e1968dc66b3 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 20 Mar 2023 12:59:06 -0600 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ab50d35..32afc638 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Retrieve all changed files and directories relative to a target branch, preceedi > > * **IMPORTANT:** For `push` events you need to include `fetch-depth: 0` **OR** `fetch-depth: 2` depending on your use case. > * For monorepos where pulling all the branch history might not be desired, you can omit `fetch-depth` for `pull_request` events. -> * For files located in a sub-directory ensure that the pattern specified contains `**/` (globstar) to match any preceding directories or explicitly pass the full path relative to the project root. See: [#314](https://github.com/tj-actions/changed-files/issues/314). +> * For files located in a sub-directory ensure that the pattern specified contains `**/` (globstar) to match any preceding directories or explicitly pass the full path relative to the project root. See: [Pattern Gotcha](https://github.com/tj-actions/glob#pattern-gotcha). > * All multiline inputs should not use double or single quotes since the value is already a string seperated by a newline character. See [Examples](#examples) for more information. > * Ensure that `persist-credentials` is set to `true` when configuring `actions/checkout` if `fetch-depth` isn't set to `0`.