From adb239d6234253113228e1d387b1cd44106f86cd Mon Sep 17 00:00:00 2001 From: Michal Dorner Date: Mon, 14 Sep 2020 18:09:37 +0200 Subject: [PATCH] Add hint to use fetch-depth for feature branch workdlow --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index e367db6..4025a97 100644 --- a/README.md +++ b/README.md @@ -235,6 +235,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + # This may save additional git fetch roundtrip if + # merge-base is found within latest 20 commits + fetch-depth: 20 - uses: dorny/paths-filter@v2 id: filter with: