Ultralytics Actions
The GitHub workflow Ultralytics uses to format code, check links, summarize PRs, run AI review, label issues, and report repository health.
name: Ultralytics Actions
on:
issues:
types: [opened]
pull_request:
branches: [main]
types: [opened, closed, synchronize, review_requested]
permissions:
contents: write
pull-requests: write
issues: write
jobs:
actions:
runs-on: ubuntu-latest
steps:
- uses: ultralytics/actions@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
labels: true
python: true
prettier: true
spelling: true
links: true
summary: true
openai_api_key: ${{ secrets.OPENAI_API_KEY }}GPT-6 Luna
Use GPT-6 Luna for pull request summaries, issue labels, and AI review comments directly inside GitHub Actions.
- Workflow secret:
OPENAI_API_KEY - Best for concise PR summaries, labels, and maintainer-focused review notes.
Claude Opus 5.5
Use Claude Opus 5.5 for AI-assisted pull request review and repository maintenance workflows.
- Workflow secret:
ANTHROPIC_API_KEY - Best for deeper review passes, repository context, and follow-up recommendations.
Repository automation that stays in GitHub
Run the checks, summaries, reviews, labels, and reports maintainers need most from one GitHub workflow.
Format and check code
Run Ruff, Biome, Prettier, codespell, Lychee, swift-format, and Dart formatting from one composite action.
Learn moreSummarize and review PRs
Generate pull request summaries and AI code reviews that focus maintainers on behavior, risks, and follow-up work.
Learn moreLabel new work
Apply relevant labels to issues, pull requests, and discussions so repository queues stay organized.
Learn moreRetry flaky commands
Wrap transient CI steps with retry behavior, backoff, and timeouts without duplicating shell logic.
Learn moreReport repository health
Summarize open pull requests and failed default-branch workflows across organization repositories.
Learn moreUse the Python package
Install ultralytics-actions for programmable access to the same maintenance utilities used by the actions.
Learn moreFrequently asked questions
Ultralytics Actions is the official GitHub automation suite used for code formatting, link checks, spelling checks, PR summaries, AI review, issue labeling, repository reports, and dependency maintenance.
It runs inside GitHub Actions workflows. Add
uses: ultralytics/actions@mainfrom the Marketplace listing, choose the inputs you need, and provide the required GitHub token and optional AI provider keys.
Build the model after the PR lands
Use Ultralytics Actions to keep repositories moving, then take datasets, training, and deployment into Ultralytics Platform.