From 5129c2f41d7387e0faf818bd6142ae6ef0e3b909 Mon Sep 17 00:00:00 2001 From: Keith Date: Mon, 6 Jan 2025 15:07:45 +0900 Subject: [PATCH] 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 --- .github/workflows/spam-comment-detection.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/spam-comment-detection.yaml b/.github/workflows/spam-comment-detection.yaml index 04c2912a1..e44f106c5 100644 --- a/.github/workflows/spam-comment-detection.yaml +++ b/.github/workflows/spam-comment-detection.yaml @@ -4,6 +4,9 @@ on: issue_comment: types: [created, edited] +permissions: + issues: write + jobs: detect-spam: runs-on: ubuntu-latest