From c6520103c0bae9561b865a1427148cd09dc9bb2b Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Sat, 5 Aug 2023 15:10:23 +0900 Subject: [PATCH] ci: fix deployment action permissions (#343) --- .github/workflows/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fbe957d8..471ddbc1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,6 +11,8 @@ on: branches: ["**"] pull_request_target: +permissions: {} + jobs: pre-deployment: outputs: @@ -47,9 +49,8 @@ jobs: url: ${{ steps.publish.outputs.url }} permissions: - contents: write deployments: write - #pull-requests: write + pull-requests: write steps: - id: pr-checkout