Skip to content

fix

fix #5

Workflow file for this run

name: Oidc Demo
on:
push:
branches:
- poc/github-azure-oidc-demo
workflow_dispatch:
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
build:
runs-on: ubuntu-latest
environment: oidc-demo
steps:
- name: 'Az CLI login'
uses: azure/login@v1
with:
client-id: ${{ vars.AZURE_CLIENT_ID }}
tenant-id: ${{ vars.AZURE_TENANT_ID }}
allow-no-subscriptions: true
- name: 'Run az commands'
run: |
az account show