mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-29 18:48:13 +08:00
build: 为action声明permissions
This commit is contained in:
parent
aa67db6eb3
commit
0961b8e07e
5
.github/workflows/add-labels-for-pr.yml
vendored
5
.github/workflows/add-labels-for-pr.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user