From 6012a362d6de784f04b3e4eae45c897d826826dd Mon Sep 17 00:00:00 2001 From: Marius Glittum Date: Mon, 1 Jul 2024 11:05:08 +0200 Subject: [PATCH] =?UTF-8?q?Legger=20p=C3=A5=20permissions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-and-deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 08676954..704255b2 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -65,6 +65,9 @@ jobs: deploy_dev_gcp: if: github.event.inputs.cluster == 'dev-gcp' || github.event_name == 'push' needs: bygg + permissions: + contents: read + id-token: write runs-on: ubuntu-latest timeout-minutes: 30 environment: dev-gcp:aap @@ -81,6 +84,9 @@ jobs: deploy_prod_gcp: if: github.event.inputs.cluster == 'prod-gcp' needs: bygg + permissions: + contents: read + id-token: write runs-on: ubuntu-latest timeout-minutes: 30 environment: prod-gcp:aap