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.
This commit is contained in:
vitor-aignosi
2025-09-01 16:36:01 -03:00
parent 42b1f6e0a4
commit 38b20c790f

View File

@@ -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