Skip to content

Commit f47b3f8

Browse files
duanyangjingluchsh
authored andcommitted
CI: Limit permission of actions to readonly
1 parent 0b88d34 commit f47b3f8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727

2828
name: 'CVM build and test'
2929

30+
permissions:
31+
contents: read
32+
pull-requests: write
33+
3034
on:
3135
pull_request:
3236
branches:

0 commit comments

Comments
 (0)