From 930c7793e2a7f14855c424ee77aef87f5d76ea75 Mon Sep 17 00:00:00 2001 From: Paul Kraft Date: Tue, 1 Oct 2024 10:46:11 -0700 Subject: [PATCH 1/2] Add writing permission for production deployment --- .github/workflows/production.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 857bc826..005a00e6 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -22,7 +22,7 @@ jobs: name: Production Deployment uses: ./.github/workflows/deployment.yml permissions: - contents: read + contents: write actions: read security-events: write secrets: inherit From 675f131685ffb4d29e334af903e0cfc7dc58d6b0 Mon Sep 17 00:00:00 2001 From: Paul Kraft Date: Tue, 1 Oct 2024 12:44:34 -0700 Subject: [PATCH 2/2] Update permission --- .github/workflows/production.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 005a00e6..7c5356c6 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -22,7 +22,8 @@ jobs: name: Production Deployment uses: ./.github/workflows/deployment.yml permissions: - contents: write + contents: read + checks: write actions: read security-events: write secrets: inherit