Skip to content

Commit

Permalink
revert and still use PAT (microsoft#157955)
Browse files Browse the repository at this point in the history
still use PAT
  • Loading branch information
TylerLeonhardt authored Aug 11, 2022
1 parent cad50f2 commit bb15888
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions build/azure-pipelines/distro-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,26 @@ trigger:
pr: none

steps:
- checkout: self
persistCredentials: true

- task: NodeTool@0
inputs:
versionSpec: "16.x"

- task: AzureKeyVault@1
displayName: "Azure Key Vault: Get Secrets"
inputs:
azureSubscription: "vscode-builds-subscription"
KeyVaultName: vscode
SecretsFilter: "github-distro-mixin-password"

- script: |
set -e
cat << EOF > ~/.netrc
machine github.com
login vscode
password $(github-distro-mixin-password)
EOF
git config user.email "vscode@microsoft.com"
git config user.name "VSCode"
Expand Down

0 comments on commit bb15888

Please sign in to comment.