Discover and explore top open-source AI tools and projects—updated daily.
AI inference for GitHub Actions
Top 80.0% on SourcePulse
This action enables the use of AI models within GitHub Actions workflows, allowing developers to integrate AI-powered tasks directly into their CI/CD pipelines. It targets developers and teams looking to automate tasks like code summarization, text generation, or data analysis using AI models hosted on GitHub Models.
How It Works
The action leverages a YAML-based configuration for prompts, supporting both simple text and structured .prompt.yml
files. These structured files allow for templating, custom model selection, and JSON schema-based response formatting. It integrates with GitHub's Model Context Protocol (MCP) to grant AI models access to GitHub tools for repository management and issue tracking.
Quick Start & Requirements
uses: actions/ai-inference@v1
permissions: models: read
enable-github-mcp: true
and potentially token
and github-mcp-token
(e.g., secrets.USER_PAT
).Highlighted Details
.prompt.yml
files.script/release
helper for managing GitHub Actions releases.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The action requires specific models: read
permissions for GitHub Models. While it supports large responses via response-file
, the default max-tokens
is 200, which may require explicit configuration for more extensive outputs.
3 days ago
Inactive