зеркало из https://github.com/microsoft/vstest.git
Update AzureDevOps.yml
This commit is contained in:
Родитель
46df2e2114
Коммит
2bc41d3b94
|
@ -28,15 +28,15 @@ jobs:
|
|||
client-id: ${{ secrets.ENTRA_APP_CLIENT_ID }}
|
||||
tenant-id: ${{ secrets.ENTRA_APP_TENANT_ID }}
|
||||
subscription-id: ${{ secrets.ADO_SUBSCRIPTION_ID }}
|
||||
- name: Get Azure DevOps token
|
||||
id: get_ado_token
|
||||
run:
|
||||
# - name: Get Azure DevOps token
|
||||
# id: get_ado_token
|
||||
# run:
|
||||
# The resource ID for Azure DevOps is always 499b84ac-1321-427f-aa17-267ca6975798
|
||||
# https://learn.microsoft.com/azure/devops/integrate/get-started/authentication/service-principal-managed-identity
|
||||
echo "ado_token=$(az account get-access-token --resource 499b84ac-1321-427f-aa17-267ca6975798 --query "accessToken" --output tsv)" >> $GITHUB_ENV
|
||||
# echo "ado_token=$(az account get-access-token --resource 499b84ac-1321-427f-aa17-267ca6975798 --query "accessToken" --output tsv)" >> $GITHUB_ENV
|
||||
- uses: pavelhorak/github-actions-issue-to-work-item@main
|
||||
env:
|
||||
ado_token: "${{ env.ado_token }}"
|
||||
ado_token: "$(System.AccessToken)"
|
||||
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
|
||||
ado_organization: "${{ secrets.ADO_ORGANIZATION }}"
|
||||
ado_project: "${{ secrets.ADO_PROJECT }}"
|
||||
|
|
Загрузка…
Ссылка в новой задаче