From 8cabedbc211e641732c0404c10b5a4e0ac1b7a9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Nygard?= Date: Fri, 5 Jan 2024 12:56:34 +0100 Subject: [PATCH] Add missing workflow permissions --- .github/workflows/deploy-frackend.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy-frackend.yaml b/.github/workflows/deploy-frackend.yaml index 7f72a0883..12f1b6662 100644 --- a/.github/workflows/deploy-frackend.yaml +++ b/.github/workflows/deploy-frackend.yaml @@ -67,6 +67,9 @@ jobs: name: Deploy dev-gcp needs: build-app-docker runs-on: ubuntu-latest + permissions: + contents: "read" + id-token: "write" steps: - uses: actions/checkout@v4 - uses: nais/deploy/actions/deploy@v2 @@ -80,6 +83,9 @@ jobs: needs: build-app-docker if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest + permissions: + contents: "read" + id-token: "write" steps: - uses: actions/checkout@v4 - uses: nais/deploy/actions/deploy@v2