License YOLO

Ultralytics Actions

The GitHub workflow Ultralytics uses to format code, check links, summarize PRs, run AI review, label issues, and report repository health.

.github/workflows/ultralytics-actions.yml
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 }}
OpenAI

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.
⚽ Live Match: actions - Pertandingan Hari Ini
Claude

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.
⚽ Live Match: actions - Pertandingan Hari Ini

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 more

Summarize and review PRs

Generate pull request summaries and AI code reviews that focus maintainers on behavior, risks, and follow-up work.

Learn more

Label new work

Apply relevant labels to issues, pull requests, and discussions so repository queues stay organized.

Learn more

Retry flaky commands

Wrap transient CI steps with retry behavior, backoff, and timeouts without duplicating shell logic.

Learn more

Report repository health

Summarize open pull requests and failed default-branch workflows across organization repositories.

Learn more

Use the Python package

Install ultralytics-actions for programmable access to the same maintenance utilities used by the actions.

Learn more

Frequently 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@main from the Marketplace listing, choose the inputs you need, and provide the required GitHub token and optional AI provider keys.

  • No. Formatting, spelling, link checks, retry, cleanup, reports, and dependency utilities can run without AI. AI keys are only needed for generated summaries, labeling, and review features with OpenAI or Anthropic.

Build the model after the PR lands

Use Ultralytics Actions to keep repositories moving, then take datasets, training, and deployment into Ultralytics Platform.