From 11695dbb96b08a03b4b495905b832b1704ad01b2 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Thu, 21 Jul 2022 14:23:44 -0400 Subject: [PATCH 1/2] chore: update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f6e5ba92dc..ef2600466f3 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Retrieve all changed files and directories relative to the target branch (`pull_ > NOTE: :warning: > > * **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@v3` you'll need to specify a `token` using the `token` input. > * 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). From 1f44ec56ac99b98f837565affd2fe8de7816804e Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Thu, 21 Jul 2022 14:25:12 -0400 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ef2600466f3..d353a791775 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ Support this project with a :star: | sha | `string` | `true` | `${{ github.sha }}` | Specify a different
commit SHA
used for
comparing changes | | base\_sha | `string` | `false` | | Specify a different
base commit SHA
used for
comparing changes | | path | `string` | `false` | `'.'` | Relative path under
`GITHUB_WORKSPACE`
to the repository | -| since\_last\_remote\_commit | `boolean` | `false` | `false` | Use the last commit on the remote
branch as the `base_sha`
(Defaults to the last commit
on the target branch for Pull requests
or the previous commit
on the current branch
for push events).
NOTE: This requires
`fetch-depth: 0`
with `actions/checkout@v2` | +| since\_last\_remote\_commit | `boolean` | `false` | `false` | Use the last commit on the remote
branch as the `base_sha`
(Defaults to the last commit
on the target branch for Pull requests
or the previous commit
on the current branch
for push events).
NOTE: This requires
`fetch-depth: 0`
with `actions/checkout@v3` | | use\_fork\_point | `boolean` | `false` | `false` | Finds best common ancestor
between two commits
to use in a three-way merge
as the `base_sha`
See: [git merge-base](https://git-scm.com/docs/git-merge-base#Documentation/git-merge-base.txt---fork-point).
NOTE: This pulls the entire commit history of the base branch | | quotepath | `boolean` | `false` | `true` | Output filenames completely verbatim by setting this to `false` | | diff\_relative | `boolean` | `false` | | Exclude changes outside the current directory and show pathnames relative to it. | @@ -254,7 +254,7 @@ Support this project with a :star: base_sha: "2096ed0" - name: Checkout into dir1 - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 path: dir1