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:
2
.github/workflows/quality-gate.yml
vendored
2
.github/workflows/quality-gate.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user