From 9198e8b4fa8c5ffc67e483bd59f25786b3c40cf4 Mon Sep 17 00:00:00 2001 From: Chen Yu Date: Mon, 6 Jan 2025 17:47:26 +0800 Subject: [PATCH] ci: set proper permission for spam detection action (#3292) --- .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