From b006016d078e3fe28e7fb4fe2f8875403e1c7b18 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 7 May 2024 08:09:00 +0200 Subject: [PATCH] ci: Make "release / tag" job detect existing tags The release / tag job has logic to decide whether to push a new tag on stable branches, which depends on the all the tags being fetched. The checkout action doesn't do that by default, so enable that. --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 66932806c..e689d46ea 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -120,6 +120,7 @@ jobs: steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: + fetch-tags: true ssh-key: ${{ secrets.POSTGREST_SSH_KEY }} - name: Tag latest commit run: |