# GitHub Models in GitHub Actions

> Learn how to use GitHub Models in GitHub Actions to automate your workflows and improve your development process.

[Your browser does not support the audio element.](https://microsoft.github.io/genaiscript/llms-full.txt.mp3 "Generated by 🤖 AI with random voice personality. Content interpretation may vary.")

Generated by 🤖 AI

You can now use `GITHUB_TOKEN` from GitHub Actions to authenticate requests to [GitHub Models](https://github.com/marketplace/models)!!!

genai.yml

```yaml
permissions:
  models: read
jobs:
  genai:
    steps:
      run: npx -y genaiscript run ...
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```

This simplifies your workflows by integrating AI capabilities directly into your actions, eliminating the need to generate and manage Personal Access Tokens (PATs)!

* [Read GitHub Announcement](https://github.blog/changelog/2025-04-14-github-actions-token-integration-now-generally-available-in-github-models/)
* [Read Documentation](/genaiscript/configuration/github)