Skip to content

Commit 6163bd6

Browse files
authored
bug(ci): fix broken release job (#10324)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
1 parent 07e0116 commit 6163bd6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ jobs:
2525
steps:
2626
- name: Check out project
2727
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
30+
# Needs to be an admin token to get around branch protection.
31+
token: ${{ secrets.GH_TOKEN_REDALLEN }}
32+
33+
# Fetches all tags from 'origin' and updates local tags, only fetches the latest commit.
34+
- name: Fetch tags
35+
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
2836

2937
- name: Set up and build project
3038
uses: ./.github/actions/setup-project

0 commit comments

Comments
 (0)