From aa4f02f5602b6e1748763449890413b0809fc262 Mon Sep 17 00:00:00 2001 From: David Kallesen Date: Fri, 5 Sep 2025 10:08:03 +0200 Subject: [PATCH] fix: setup git authentication for push --- .github/workflows/post-integration.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/post-integration.yml b/.github/workflows/post-integration.yml index e4acefa7..652fa3f5 100644 --- a/.github/workflows/post-integration.yml +++ b/.github/workflows/post-integration.yml @@ -66,6 +66,9 @@ jobs: dotnet build -c Release /p:UseSourceLink=true --no-restore dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" + - name: Set up git authentication for push + run: git remote set-url origin https://x-access-token:${{ secrets.PAT_WORKFLOWS }}@github.com/atc-net/atc-rest-api-generator.git + - name: ⏩ Merge to stable-branch run: | git config --local user.email ${{ env.ATC_EMAIL }}