From 843ac08b305867e705bcb062b0e315feca908ec6 Mon Sep 17 00:00:00 2001 From: Marko Frankovic Date: Thu, 27 Mar 2025 10:50:36 +0100 Subject: [PATCH] Added github token to clone part --- .github/workflows/maven-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 9f89f7d..36147ef 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -61,7 +61,8 @@ jobs: mkdir -p /opt/rizik cp -R xsd/ /opt/rizik/ env: - BRANCH: ${{ github.ref }} + BRANCH: ${{ github.ref }} + GITHUB_TOKEN: ${{ github.token }} - name: Set up JDK from ENV if: github.ref != 'refs/heads/feature/T2900-java21' && github.ref != 'refs/heads/feature/T2900-java-21'