Release

September 5, 20251 Minute Read

GitHub Actions: AI labeler and moderator with the GitHub Models inference API

Two GitHub Actions are now available to help open source maintainers using the GitHub Models inference API:

  • AI assessment comment labeler: Streamline your issue triage with a simple trigger label that automatically kicks off configurable AI assessments using GitHub Models. This is perfect for issue templates that need instant evaluation! The action processes multiple AI prompts at once, generating comments with standardized labels (like ai:bug-review:ready for review) that make filtering and project automation easier. Plus it supports smart comment suppression when you want the labels without the noise for seamless automated workflows.
  • AI moderator: Scan new issues and comments with AI for spam, link spam, or AI‑generated content. You can auto‑label and optionally minimize them, with support for custom prompts.

Both actions:

  • Use your workflow GITHUB_TOKEN with models: read (no extra API key).
  • Let you tailor prompts (multiple prompt files for assessment, toggle or replace moderation prompts).
  • Produce consistent labels you can filter, search, or automate against.

These actions complement the existing AI inference action, a reference workflow template you can adapt when calling GitHub Models in your own automation. Add them to your workflows to reduce manual triage and improve community health.

For more details, check out our models documentation or join our community discussions.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

GitHub Actions: AI labeler and moderator with the GitHub Models inference API - GitHub Changelog