From c63a4b02043ddc2ad3566201725947081470c022 Mon Sep 17 00:00:00 2001 From: umihico Date: Sat, 17 Feb 2024 22:23:09 +0900 Subject: [PATCH] Add write permission to id-token and contents in workflows --- .github/workflows/auto-update.yml | 5 +++++ .github/workflows/demo-test.yml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 9a20df8..ca4243f 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -8,6 +8,11 @@ on: - feat/github-actions - main +permissions: + id-token: write + contents: write + pull-requests: write + concurrency: group: deploy-prod-stack diff --git a/.github/workflows/demo-test.yml b/.github/workflows/demo-test.yml index b49dc30..6a72502 100644 --- a/.github/workflows/demo-test.yml +++ b/.github/workflows/demo-test.yml @@ -8,6 +8,10 @@ on: branches: - feat/github-actions** +permissions: + id-token: write + contents: read + concurrency: group: deploy-prod-stack