Skip to content

Commit d6774e7

Browse files
Update Azure Static Web Apps workflow with permissions
Added permissions for repository access in CI/CD workflow.
1 parent d74b7ed commit d6774e7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/azure-static-web-apps-kind-coast-04498401e.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
branches:
1010
- main
1111

12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
1216
jobs:
1317
build_and_deploy_job:
1418
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
@@ -44,3 +48,4 @@ jobs:
4448
with:
4549
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KIND_COAST_04498401E }}
4650
action: "close"
51+

0 commit comments

Comments
 (0)