From 25b99b9cad4621a0d855aa9ce643d646b7e3fa93 Mon Sep 17 00:00:00 2001 From: katspaugh Date: Mon, 6 May 2024 11:11:36 +0200 Subject: [PATCH] Add permissions --- .github/workflows/deploy-dev.yml | 4 ++++ .github/workflows/deploy-production.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index f18f1cd4e3..c9cb7a4d5b 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -12,6 +12,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +permissions: + contents: read + id-token: write + jobs: deploy: runs-on: ubuntu-latest diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index ff92046190..c0d61a7248 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -4,6 +4,10 @@ on: release: types: [published] +permissions: + contents: read + id-token: write + jobs: release: runs-on: ubuntu-latest