From 6686a93c24968230e7c969390fc155b42c3e0e19 Mon Sep 17 00:00:00 2001 From: Ruben Hoenle Date: Fri, 5 Sep 2025 17:15:29 +0200 Subject: [PATCH] fix(ci/cd): use token with write permissions for git tag push --- .github/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fea84a8..40f50cc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -41,10 +41,14 @@ jobs: runs-on: ubuntu-latest if: ${{ github.ref_name == 'main' }} needs: [ci] + permissions: + contents: write + actions: write steps: - name: Checkout uses: actions/checkout@v5 with: + # we need to fetch all existing git tags fetch-depth: 0 - name: Create git tags and publish to Maven Central