Add AI Moderator as an automation starter workflow - #3403
Closed
salmanmkc wants to merge 3 commits into
Closed
Conversation
Adds github/ai-moderator to the Automation category of the starter workflow gallery, alongside the existing Stale, Greetings, and Labeler templates. Any repository can now pick this from the Actions tab to scan new issues and comments for spam, link spam, and AI-generated content using the GitHub Models inference API (no extra secrets required, matching the existing AI issue summary template). Verified against script/validate-data locally: no errors.
salmanmkc
commented
Aug 3, 2026
There was a problem hiding this comment.
Pull request overview
Adds AI Moderator as a new starter workflow template under the Automation category, enabling repositories to install github/ai-moderator directly from the Actions starter workflow gallery.
Changes:
- Added a new starter workflow template at
automation/ai-moderator.ymlthat runsgithub/ai-moderator@v1on new issues and comments. - Added gallery metadata at
automation/properties/ai-moderator.properties.json(name/description/icon/categories) consistent with existing Automation templates.
Show a summary per file
| File | Description |
|---|---|
| automation/ai-moderator.yml | New starter workflow wiring github/ai-moderator@v1 with appropriate events and permissions for labeling/minimizing detected content. |
| automation/properties/ai-moderator.properties.json | New workflow gallery metadata entry (name/description/icon/categories) for the AI Moderator template. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Lite
Gallery templates are not covered by this repository's Dependabot configuration, which only scans .github/workflows, so pin to the current major version at authoring time.
Contributor
Author
|
Closing in favour of #3402, which adds the AI Moderator as a gh-aw agentic workflow rather than a plain action-based starter workflow. Consolidating on a single approach there. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
github/ai-moderatoras a new template in the Automation category of the starter workflow gallery, so any repository can pick it from the Actions tab.Why this category
github/ai-moderatoris the spam/AI-content moderation sibling ofactions/ai-inference, from the same GitHub Models announcement.actions/ai-inferenceis already available here as the "AI issue summary" template (automation/summary.yml). This follows the same pattern:${{ secrets.GITHUB_TOKEN }}withmodels: read— no extra API key or paid third-party service required.automation/.Files
automation/ai-moderator.yml— the workflow template.automation/properties/ai-moderator.properties.json— gallery metadata (name, description, icon, category).Validation
Ran
script/validate-datalocally against these files — no errors (name is unique, category is the first-listedAutomation, icon name matches the existingocticon ai-modelconvention used by the AI issue summary template).Note
This is a separate, alternative install path from #3401 / #3402, which add AI Moderator as maintenance automation on this repository's own issue tracker rather than as a gallery template for other repos to pick.