From 02da42ecdc29c034a01eae5923facceacd2b881e Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Thu, 18 Jul 2024 20:32:05 -0700 Subject: [PATCH] Add permissions to website deployment job (#4285) (cherry picked from commit a074f7d393bb8c6011b624b8cbb8ded651fddac4) --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75893217564..6e4309feebf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,6 +102,8 @@ jobs: deploy_website: name: Deploy Website runs-on: ubuntu-22.04 + permissions: + contents: write needs: [all_tests_passed] # Only Deploy website on pushes to main, may change to a stable branch if: (github.event_name == 'push') && (github.ref_name == 'main')