Skip to content

Commit ca34dda

Browse files
authored
Update syncAdo.yml
Testing azure managed identity
1 parent 2c1c462 commit ca34dda

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/syncAdo.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
issues:
55
types: [labeled, closed, reopened]
66

7+
permissions:
8+
id-token: write
9+
contents: read
10+
711
jobs:
812
alert:
913
runs-on: ubuntu-latest
@@ -20,3 +24,15 @@ jobs:
2024
ado_area_path: 'Edge\Web Experience\WebView2'
2125
ado_tags: 'WV2_GitHub'
2226
ado_gh_closed_tag: 'WV2_GitHub_Closed'
27+
- name: Azure login
28+
uses: azure/login@v2
29+
with:
30+
client-id: ${{ secrets.AZURE_CLIENT_ID }}
31+
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
32+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
33+
- name: Azure CLI script
34+
uses: azure/cli@v2
35+
with:
36+
azcliversion: latest
37+
inlineScript: |
38+
az account show

0 commit comments

Comments
 (0)