Try fetching tags

Marshall Bowers created

Change summary

.github/workflows/ci.yml | 3 +++
1 file changed, 3 insertions(+)

Detailed changes

.github/workflows/ci.yml 🔗

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