build: 为action声明permissions
This commit is contained in:
parent
aa67db6eb3
commit
0961b8e07e
|
@ -2,6 +2,9 @@ on: pull_request
|
||||||
|
|
||||||
name: MeterSphere 通用 PR 处理
|
name: MeterSphere 通用 PR 处理
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
pull-requests: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
generic_handler:
|
generic_handler:
|
||||||
name: 为 PR 添加标签
|
name: 为 PR 添加标签
|
||||||
|
@ -14,4 +17,4 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-ecosystem/action-add-labels@v1
|
- uses: actions-ecosystem/action-add-labels@v1
|
||||||
with:
|
with:
|
||||||
labels: ${{ github.base_ref }}
|
labels: ${{ github.base_ref }}
|
||||||
|
|
Loading…
Reference in New Issue