Skip to content

Commit

Permalink
using permissions set in reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joshjohanning authored Dec 22, 2023
1 parent 3081836 commit 8b92190
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/azure-oidc-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,15 @@ on:
jobs:
azure:
uses: joshjohanning-org/reusable-workflows/.github/workflows/azure-oidc-sample.yml@v1 # v1 is 'approved' workflow
permissions:
id-token: write # this is needed for oidc
contents: read # this is needed to clone repo
# if within same organization, can specify permissions in reusable workflow
# permissions:
# id-token: write # this is needed for oidc
# contents: read # this is needed to clone repo
with:
runs-on: ubuntu-latest
keyvault: josh-key-vault-test
secrets: inherit




#---------------------------------------#

print-oidc-token:
Expand Down

0 comments on commit 8b92190

Please sign in to comment.