Skip to content

Commit

Permalink
ci: set proper permission for spam detection action
Browse files Browse the repository at this point in the history
The default permission of Neuron repo is read-only so the
permission write should be specify explicitly
  • Loading branch information
Keith-CY committed Jan 6, 2025
1 parent 0d64329 commit 5129c2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/spam-comment-detection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
issue_comment:
types: [created, edited]

permissions:
issues: write

jobs:
detect-spam:
runs-on: ubuntu-latest
Expand Down

1 comment on commit 5129c2f

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 12627493904

Please sign in to comment.