From 38b20c790fd2a84f78b42d2fc334f5f982ac81b4 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Mon, 1 Sep 2025 16:36:01 -0300 Subject: [PATCH] SIENTIAPDE-1084 Update quality-gate.yml to configure Git for OAuth2 authentication - Added global Git configuration to replace SSH and HTTPS URLs with OAuth2 token-based authentication for GitHub access. --- .github/workflows/quality-gate.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/quality-gate.yml b/.github/workflows/quality-gate.yml index 9212f77..4633fd3 100644 --- a/.github/workflows/quality-gate.yml +++ b/.github/workflows/quality-gate.yml @@ -42,7 +42,9 @@ jobs: env: GH_APP_TOKEN: ${{ steps.generate-app-token.outputs.token }} run: | + git config --global url."https://oauth2:${GH_APP_TOKEN}@github.com/".insteadOf "ssh://git@github.com/" git config --global url."https://oauth2:${GH_APP_TOKEN}@github.com/".insteadOf "https://github.com/" + git config --global url."https://oauth2:${GH_APP_TOKEN}@github.com/".insteadOf "git@github.com:" - name: 🔧 Setup Python uses: actions/setup-python@v4