We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea45e38 commit f4e2f0dCopy full SHA for f4e2f0d
.github/workflows/retrieve-azure-mi.yml
@@ -0,0 +1,26 @@
1
+name: Run Azure CLI Login with OpenID Connect
2
+on:
3
+ push:
4
+
5
+permissions:
6
+ contents: read
7
+ id-token: write
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ environment: publish-vscode-marketplace
13
+ steps:
14
+ - name: Azure CLI Login
15
+ uses: azure/login@v2
16
+ with:
17
+ client-id: ${{ secrets.AZURE_CLIENT_ID }}
18
+ tenant-id: ${{ secrets.AZURE_TENANT_ID }}
19
+ allow-no-subscriptions: true
20
21
+ - name: Azure CLI script
22
+ uses: azure/cli@v2
23
24
+ azcliversion: latest
25
+ inlineScript: |
26
+ az rest -u https://app.vssps.visualstudio.com/_apis/profile/profiles/me --resource 499b84ac-1321-427f-aa17-267ca6975798
0 commit comments