From 26bdd1f4ce91dccf6add2875290dcb9cd6ad11d0 Mon Sep 17 00:00:00 2001 From: Simon Templer Date: Wed, 27 Nov 2024 09:43:15 +0100 Subject: [PATCH] ci: fix git credentials for release [skip ci] --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b9f9fc..18d4a4c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,6 +41,9 @@ jobs: with: # fetch-depth 0 is required to fetch all tags (and to determine the version based on tags) fetch-depth: 0 + # do not persist credentials because this clashes with semantic-release action + # (because the @semantic-release/git attempts to use them but needs permissions to bypass protection) + persist-credentials: false - uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 with: