diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9435c58f97db2e678d229d237e299b4bf7b9b791..c673b90968e2ed6a03d3209f3a1a571d49c45020 100644 --- a/.github/workflows/ci.yml +++ b/.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"