We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45bf384 commit 5e64c57Copy full SHA for 5e64c57
.github/workflows/moderator.yml
@@ -0,0 +1,28 @@
1
+name: AI Moderator
2
+on:
3
+ issues:
4
+ types: [opened]
5
+ issue_comment:
6
+ types: [created]
7
+ pull_request_review_comment:
8
9
+
10
+jobs:
11
+ spam-detection:
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ issues: write
15
+ pull-requests: write
16
+ models: read
17
+ contents: read
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: github/ai-moderator@v1
21
+ with:
22
+ token: ${{ secrets.GITHUB_TOKEN }}
23
+ spam-label: 'spam'
24
+ ai-label: 'ai-generated'
25
+ minimize-detected-comments: true
26
+ enable-spam-detection: true
27
+ enable-link-spam-detection: true
28
+ enable-ai-detection: true
0 commit comments