From 488df1119375d95788e7966afb20cb41e6853ee7 Mon Sep 17 00:00:00 2001 From: Roar Mjelde <36594318+Ceredron@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:34:19 +0100 Subject: [PATCH] Fix deploy permission (#425) --- .github/actions/deploy-to-environment/action.yml | 3 +++ .github/actions/update-infrastructure/action.yml | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/deploy-to-environment/action.yml b/.github/actions/deploy-to-environment/action.yml index cc528f7b..e87fe291 100644 --- a/.github/actions/deploy-to-environment/action.yml +++ b/.github/actions/deploy-to-environment/action.yml @@ -1,6 +1,9 @@ # File: .github/actions/deploy-to-environment/action.yml name: "Deploy to Environment" description: "Deploy application to a specified environment" +permissions: + id-token: write + contents: read inputs: environment: diff --git a/.github/actions/update-infrastructure/action.yml b/.github/actions/update-infrastructure/action.yml index 22e955d7..b89286a6 100644 --- a/.github/actions/update-infrastructure/action.yml +++ b/.github/actions/update-infrastructure/action.yml @@ -1,5 +1,4 @@ name: Update infrastructure - description: "Update the infrastructure to the version given by git ref" inputs: