From 6c8dc3e46920b41eb2154008ea14c7e3fdd6abef Mon Sep 17 00:00:00 2001 From: sigurdgroneng Date: Fri, 1 Sep 2023 12:40:35 +0200 Subject: [PATCH] Update github permisssions --- .github/workflows/deploy-feature-branch.yml | 5 +++++ .github/workflows/deploy.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/deploy-feature-branch.yml b/.github/workflows/deploy-feature-branch.yml index 6ea0339f1..92a7506fc 100644 --- a/.github/workflows/deploy-feature-branch.yml +++ b/.github/workflows/deploy-feature-branch.yml @@ -7,6 +7,11 @@ concurrency: group: deploy-feature-branch cancel-in-progress: true +permissions: + contents: 'read' + id-token: 'write' + packages: 'write' + jobs: dev-ekstern: name: Deploy to dev extern diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d10bee645..7a64776f9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,6 +5,11 @@ on: - main workflow_dispatch: +permissions: + contents: 'read' + id-token: 'write' + packages: 'write' + concurrency: group: deploy cancel-in-progress: true