From d2c3be8ab4e238fda1664c72d566090377203cbc Mon Sep 17 00:00:00 2001 From: Simon Templer Date: Tue, 9 Apr 2024 17:31:41 +0200 Subject: [PATCH] fix: fix incompatibility with semantic-release action --- .github/workflows/gradle-library.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/gradle-library.yml b/.github/workflows/gradle-library.yml index 66cde9c..782c185 100644 --- a/.github/workflows/gradle-library.yml +++ b/.github/workflows/gradle-library.yml @@ -83,6 +83,9 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: submodules: ${{ inputs.submodules }} + # 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 # # Build, test and create Docker image