Skip to content

Commit

Permalink
add github action permission for id-token
Browse files Browse the repository at this point in the history
  • Loading branch information
dantelmomsft committed Oct 9, 2024
1 parent a4c6ef8 commit bf82dff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/azure-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ on:
- v*.*.*
workflow_dispatch:

# Set up permissions for deploying with secretless Azure federated credentials
# https://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure?tabs=azure-portal%2Clinux#set-up-azure-login-with-openid-connect-authentication
permissions:
id-token: write
contents: read

jobs:
changes-detection:
runs-on: ubuntu-latest
Expand Down

0 comments on commit bf82dff

Please sign in to comment.