You can now use the vercel/ai-action@v2
GitHub Action to access the AI SDK and AI Gateway, generating text or structured JSON directly in your workflows by specifying a prompt
, model
, and api-key
.
This integration enables new AI powered use cases for Github Actions, like summarizing what made it into a release, a light PR code review, comment moderation, or finding duplicate or relevant issues. For example, you can use it to triage issues like:
Learn more and see examples in the Github Actions marketplace or view the source code.