Skip to content

Conversation

@martincostello
Copy link
Member

@martincostello martincostello commented Aug 27, 2025

Trial the use of github/ai-moderator to detect spam.

Trial the use of github/ai-moderator to detect spam.
Copilot AI review requested due to automatic review settings August 27, 2025 15:02
@martincostello martincostello added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 27, 2025
Copy link

Copilot AI left a 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
Copy link

codecov bot commented Aug 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.12%. Comparing base (43ef928) to head (a6e2482).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

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           
Flag Coverage Δ
linux 96.12% <ø> (ø)
macos 96.12% <ø> (ø)
windows 96.11% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Ignore warning about unknown `models` permission.
@martincostello martincostello enabled auto-merge (squash) August 27, 2025 15:09
Copy link
Member Author

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.

@martincostello martincostello merged commit 3ed1030 into main Aug 27, 2025
29 checks passed
@martincostello martincostello deleted the trial-ai-moderation branch August 27, 2025 15:15
martincostello added a commit that referenced this pull request Aug 27, 2025
Remove workflow added in #2725 as it won't work without the Models tab enabled (HTTP 403 errors).
martincostello added a commit that referenced this pull request Aug 27, 2025
Remove workflow added in #2725 as it won't work without the Models tab enabled (HTTP 403 errors).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants