Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed Dec 6, 2023
1 parent 8bbb010 commit b6f1bc7
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test-openid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run Azure Login with OpenID Connect

on:
workflow_dispatch:
push:

permissions:
id-token: write
contents: read

jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment: ci
steps:
- name: 'Az CLI login'
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: 'Run Azure CLI commands'
run: |
az account show
az group list
pwd
az keyvault secret show --name slack-api-token --vault-name vscode-probot --query value -o tsv | wc -c

0 comments on commit b6f1bc7

Please sign in to comment.