ci: set permission to add label to PR
This commit is contained in:
5
.github/workflows/conventional-label.yaml
vendored
5
.github/workflows/conventional-label.yaml
vendored
@@ -2,6 +2,11 @@ on:
|
|||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [ opened, edited ]
|
types: [ opened, edited ]
|
||||||
name: conventional-release-labels
|
name: conventional-release-labels
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
label:
|
label:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user