Skip to content

Commit 4492bcd

Browse files
aaa2000soyuka
authored andcommitted
ci: read only permission on commitlint
1 parent 9fdc6c2 commit 4492bcd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/commitlint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request_target:
55
types: [opened, reopened, synchronize]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
commitlint:
912
if: github.event_name == 'pull_request_target'

0 commit comments

Comments
 (0)