Skip to content

Commit bf82dff

Browse files
committed
add github action permission for id-token
1 parent a4c6ef8 commit bf82dff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/azure-dev.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ on:
1010
- v*.*.*
1111
workflow_dispatch:
1212

13+
# Set up permissions for deploying with secretless Azure federated credentials
14+
# https://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure?tabs=azure-portal%2Clinux#set-up-azure-login-with-openid-connect-authentication
15+
permissions:
16+
id-token: write
17+
contents: read
18+
1319
jobs:
1420
changes-detection:
1521
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)