Skip to content

[Bug] Add support for new github action permission: Models #548

Open
@Nick2bad4u

Description

@Nick2bad4u
    .github/workflows/summary.yml:16:7: unknown permission scope "models". all available permission scopes are "actions", "attestations", "checks", "contents", "deployments", "discussions", "id-token", "issues", "packages", "pages", "pull-requests", "repository-projects", "security-events", "statuses" [permissions]
       |
    16 |       models: read
       |       ^~~~~~~

Models is now a valid permission:

https://github.blog/changelog/2025-05-15-modelsread-now-required-for-github-models-access/

Access to the GitHub Models toolset now officially requires the models:read permission for fine-grained Personal Access Tokens (PATs) and GitHub Apps.

This change follows a previous warning in March. If your tokens or apps don’t include this permission, requests to the playground will now return an Unauthorized response.

Please make sure your fine-grained PATs and GitHub Apps are updated to include models:read to avoid disruption. Coarse-grained tokens are unaffected and will continue to work without changes.

To learn more about GitHub Models, check out the docs. You can also join our Community discussions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions