Skip to content

Commit

Permalink
Remove deep clone
Browse files Browse the repository at this point in the history
- The new version of the action actually uses "fetch-depth" not "depth".
- The upgrade-tool will auto-fetch tags if it needs them.
  • Loading branch information
danielrbradley committed Oct 7, 2024
1 parent 8dd0401 commit 38731ec
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ jobs:
#{{- end }}#
- name: Checkout Repo
uses: #{{ .Config.actionVersions.checkout }}#
#{{- if .Config.checkoutSubmodules }}#
with:
depth: 0 # Fetch full history for checking previous tags
#{{- if .Config.checkoutSubmodules }}#
submodules: #{{ .Config.checkoutSubmodules }}#
#{{- end }}#
#{{- end }}#
- name: Setup tools
uses: ./.github/actions/setup-tools
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
depth: 0 # Fetch full history for checking previous tags
- name: Setup tools
uses: ./.github/actions/setup-tools
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4
with:
depth: 0 # Fetch full history for checking previous tags
submodules: true
- name: Setup tools
uses: ./.github/actions/setup-tools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
depth: 0 # Fetch full history for checking previous tags
- name: Setup tools
uses: ./.github/actions/setup-tools
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
depth: 0 # Fetch full history for checking previous tags
- name: Setup tools
uses: ./.github/actions/setup-tools
with:
Expand Down

0 comments on commit 38731ec

Please sign in to comment.