-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add moderation workflow #2725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add moderation workflow #2725
Conversation
Trial the use of github/ai-moderator to detect spam.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a GitHub Actions workflow to automatically detect and moderate spam content using the github/ai-moderator action. The workflow is configured to trigger on new issues, issue comments, and pull request review comments.
- Introduces automated spam detection for issues and comments
- Configures AI-based moderation with labeling and comment minimization
- Sets up appropriate permissions for the moderation workflow
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2725 +/- ##
=======================================
Coverage 96.12% 96.12%
=======================================
Files 309 309
Lines 7118 7118
Branches 1008 1008
=======================================
Hits 6842 6842
Misses 222 222
Partials 54 54
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Ignore warning about unknown `models` permission.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Workaround for rhysd/actionlint#548.
Remove workflow added in #2725 as it won't work without the Models tab enabled (HTTP 403 errors).
Remove workflow added in #2725 as it won't work without the Models tab enabled (HTTP 403 errors).
Trial the use of github/ai-moderator to detect spam.