Skip to content

Commit

Permalink
fetch full git history in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfoyle committed Apr 3, 2024
1 parent c22efd4 commit dd8a66c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deprecate_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
INPUT_SEARCHFORRELEASESTARTINGFROM: HEAD
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # version 3.6.0
with:
# fetch full history so that we can properly lookup past releases
fetch-depth: 0
- uses: ./.github/actions/setup_node
- uses: ./.github/actions/restore_install_cache
- name: Deprecate release versions
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/restore_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
INPUT_SEARCHFORRELEASESTARTINGFROM: HEAD
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # version 3.6.0
with:
# fetch full history so that we can properly lookup past releases
fetch-depth: 0
- uses: ./.github/actions/setup_node
- uses: ./.github/actions/restore_install_cache
- name: Restore release versions
Expand Down

0 comments on commit dd8a66c

Please sign in to comment.