build: 为action声明permissions

This commit is contained in:
BugKing 2022-04-28 16:31:00 +08:00 committed by halo-ci-bot[bot]
parent aa67db6eb3
commit 0961b8e07e

View File

@ -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 }}
labels: ${{ github.base_ref }}