From 0961b8e07e14f133e53c4ffacf5bddfc05980613 Mon Sep 17 00:00:00 2001 From: BugKing Date: Thu, 28 Apr 2022 16:31:00 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E4=B8=BAaction=E5=A3=B0=E6=98=8Epermi?= =?UTF-8?q?ssions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/add-labels-for-pr.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/add-labels-for-pr.yml b/.github/workflows/add-labels-for-pr.yml index 25e8d583ae..841b3a180e 100644 --- a/.github/workflows/add-labels-for-pr.yml +++ b/.github/workflows/add-labels-for-pr.yml @@ -2,6 +2,9 @@ on: pull_request name: MeterSphere 通用 PR 处理 +permissions: + pull-requests: read + jobs: generic_handler: name: 为 PR 添加标签 @@ -14,4 +17,4 @@ jobs: - uses: actions/checkout@v2 - uses: actions-ecosystem/action-add-labels@v1 with: - labels: ${{ github.base_ref }} \ No newline at end of file + labels: ${{ github.base_ref }}