Skip to content

Commit 7c672f9

Browse files
committed
build: harden bot-label-lgtm.yaml permissions
Signed-off-by: Alex <[email protected]>
1 parent 5733160 commit 7c672f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/bot-label-lgtm.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
# From: issue_comment, pull_request_review
1111
types: [created, edited, submitted]
1212

13+
permissions:
14+
pull-requests: write # to add labels to pull-requests
15+
1316
jobs:
1417
lgtm-comment:
1518
# Check the comment. contains() is case-insensitive.

0 commit comments

Comments
 (0)