Skip to content

Commit

Permalink
Add hint to use fetch-depth for feature branch workdlow
Browse files Browse the repository at this point in the history
  • Loading branch information
dorny committed Sep 14, 2020
1 parent 1f7b23e commit adb239d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit adb239d

Please sign in to comment.