From b4dfae207064034a4517053c04f402f44bc6d480 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sat, 18 Jan 2025 19:18:06 +0800 Subject: [PATCH] Reduce permission scope --- .github/workflows/deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 6772c78..85845b9 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -5,8 +5,7 @@ on: branches: - master -permissions: - contents: write +permissions: {} concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} @@ -16,6 +15,8 @@ jobs: deploy: name: Deploy wiki runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout repository