From e0184068f0b2c1bf559bca4f64bd614ac29e306a Mon Sep 17 00:00:00 2001 From: Asahina Mafuyu Date: Fri, 20 Feb 2026 13:14:56 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=E4=BF=AE=E5=A4=8DCI=E6=A3=80?= =?UTF-8?q?=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/check_file_size.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check_file_size.yml b/.github/workflows/check_file_size.yml index f33bb99..02d4d5c 100644 --- a/.github/workflows/check_file_size.yml +++ b/.github/workflows/check_file_size.yml @@ -4,11 +4,14 @@ on: pull_request: types: [opened, synchronize, reopened] +permissions: + contents: read + pull-requests: write + issues: write + jobs: check-size: runs-on: ubuntu-latest - permissions: - pull-requests: write steps: - name: Checkout code uses: actions/checkout@v4 @@ -76,4 +79,5 @@ jobs: }); throw new Error('File size check failed'); - } \ No newline at end of file + + }