From ad23cf85a24ef80ee123fad79d06a77f2bc42483 Mon Sep 17 00:00:00 2001 From: Gustavo Valverde Date: Sun, 14 Jul 2024 21:03:09 +0100 Subject: [PATCH] fix(actions): permissions --- .github/workflows/cd-deploy-to-dev.yml | 4 +++- .github/workflows/cd-deploy-to-prod.yml | 4 +++- .github/workflows/cd-deploy-to-test.yml | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd-deploy-to-dev.yml b/.github/workflows/cd-deploy-to-dev.yml index 3509162..c458c80 100644 --- a/.github/workflows/cd-deploy-to-dev.yml +++ b/.github/workflows/cd-deploy-to-dev.yml @@ -17,7 +17,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true -permissions: read-all +permissions: + contents: read + id-token: write jobs: build: diff --git a/.github/workflows/cd-deploy-to-prod.yml b/.github/workflows/cd-deploy-to-prod.yml index 2b08b95..c366714 100644 --- a/.github/workflows/cd-deploy-to-prod.yml +++ b/.github/workflows/cd-deploy-to-prod.yml @@ -12,7 +12,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true -permissions: read-all +permissions: + contents: read + id-token: write jobs: build: diff --git a/.github/workflows/cd-deploy-to-test.yml b/.github/workflows/cd-deploy-to-test.yml index 5952d6b..bd1f7b2 100644 --- a/.github/workflows/cd-deploy-to-test.yml +++ b/.github/workflows/cd-deploy-to-test.yml @@ -18,7 +18,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true -permissions: read-all +permissions: + contents: read + id-token: write jobs: build: