Try `fetch-depth: 25`

Marshall Bowers created

Change summary

.github/workflows/ci.yml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Detailed changes

.github/workflows/ci.yml 🔗

@@ -173,9 +173,11 @@ jobs:
       - name: Checkout repo
         uses: actions/checkout@v4
         with:
-          # We need to fetch tags so that `script/draft-release-notes`
+          # We need to fetch more than one commit so that `script/draft-release-notes`
           # is able to diff between the current and previous tag.
-          fetch-tags: true
+          #
+          # 25 was chosen arbitrarily.
+          fetch-depth: 25
           clean: false
           submodules: "recursive"