From f71837dfc551f038021d022e39c184ecad22af4b Mon Sep 17 00:00:00 2001 From: Calin Lupas Date: Mon, 21 Apr 2025 21:56:55 -0400 Subject: [PATCH] Update permissions in CI/CD workflow to allow write access for contents and security events --- .github/workflows/cicd.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 9d89da2..0a7bf83 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -6,9 +6,11 @@ on: - main permissions: - attestations: write - id-token: write - contents: read + attestations: write + id-token: write + contents: write + packages: write + security-events: write env: AZURE_WEBAPP_NAME: app-gh-aspnet-webapp-01 # set this to your application's name