Skip to content

Commit 5129c2f

Browse files
committed
ci: set proper permission for spam detection action
The default permission of Neuron repo is read-only so the permission write should be specify explicitly
1 parent 0d64329 commit 5129c2f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/spam-comment-detection.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
issue_comment:
55
types: [created, edited]
66

7+
permissions:
8+
issues: write
9+
710
jobs:
811
detect-spam:
912
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)