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.



Source link
#GitHub #Actions #labeler #moderator #GitHub #Models #inference #API

By Admin

Leave a Reply

Your email address will not be published. Required fields are marked *