From 81767e1a7712a7df5ee205214c5f4b38d63e75ca Mon Sep 17 00:00:00 2001 From: JounQin Date: Mon, 10 Aug 2026 01:20:21 +0800 Subject: [PATCH] Potential fix for code scanning alert no. 13: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/size-limit.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index dcf2ee4b..ca0a665a 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -5,6 +5,10 @@ on: branches: - master +permissions: + contents: read + pull-requests: write + concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true