Skip to content

Commit

Permalink
Override fetch depth in actions/checkout
Browse files Browse the repository at this point in the history
To check if our dependencies are up to date or not without spamming
the commit history, we diff from HEAD to the commit the dependency
points to. Hence, we need the commit history to decide wether to
go get the latest revision of the module.
  • Loading branch information
EduardGomezEscandell committed Sep 18, 2023
1 parent e886914 commit 2079c9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/auto-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ jobs:
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
# ^ 0 means infinity in this context. This is necessary to later be able to compute diffs.
- name: Set up git
uses: ./.github/actions/setup-git
with:
Expand Down

0 comments on commit 2079c9c

Please sign in to comment.