Skip to content

Commit

Permalink
Update syncAdo.yml
Browse files Browse the repository at this point in the history
Testing azure managed identity
  • Loading branch information
champnic authored May 15, 2024
1 parent 2c1c462 commit ca34dda
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/syncAdo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
issues:
types: [labeled, closed, reopened]

permissions:
id-token: write
contents: read

jobs:
alert:
runs-on: ubuntu-latest
Expand All @@ -20,3 +24,15 @@ jobs:
ado_area_path: 'Edge\Web Experience\WebView2'
ado_tags: 'WV2_GitHub'
ado_gh_closed_tag: 'WV2_GitHub_Closed'
- name: Azure login
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Azure CLI script
uses: azure/cli@v2
with:
azcliversion: latest
inlineScript: |
az account show

0 comments on commit ca34dda

Please sign in to comment.