{
  "version": 2,
  "repositories": {
    "uv": {
      "name": "astral-sh/uv",
      "id": 699532645,
      "oidc_subject": "legacy"
    },
    "uv-dev": {
      "name": "astral-sh/uv-dev",
      "id": 1302176231,
      "oidc_subject": "immutable",
      "owner_id": 115962839
    }
  },
  "installations": {
    "automations": 146796415
  },
  "rules": [
    {
      "caller": "uv",
      "environment": "release",
      "caller_workflow": "release.yml",
      "on": ["workflow_dispatch"],
      "permissions": { "contents": "write", "workflows": "write" },
      "target": "uv"
    },
    {
      "caller": "uv",
      "environment": "automations",
      "caller_workflow": "release-prepare.yml",
      "on": ["workflow_dispatch"],
      "permissions": { "contents": "write", "pull_requests": "write" },
      "target": "uv"
    },
    {
      "caller": "uv-dev",
      "environment": "automations",
      "caller_workflow": "promote-pull-request.yml",
      "on": ["workflow_dispatch"],
      "permissions": { "contents": "write", "pull_requests": "write" },
      "targets": ["uv", "uv-dev"],
      "installation": "automations"
    },
    {
      "caller": "uv",
      "environment": "automations",
      "caller_workflow": "issue-triage.yml",
      "reusable_workflow": "reproduce-bug.yml",
      "on": ["issues", "workflow_dispatch"],
      "permissions": { "contents": "write", "pull_requests": "write" },
      "target": "uv-dev"
    },
    {
      "caller": "uv",
      "environment": "automations",
      "caller_workflow": "reproduce-bug.yml",
      "on": ["workflow_dispatch"],
      "permissions": { "contents": "write", "pull_requests": "write" },
      "target": "uv-dev"
    },
    {
      "caller": "uv",
      "environment": "automations",
      "caller_workflow": "sync-uv-dev.yml",
      "on": ["push", "workflow_dispatch"],
      "permissions": { "contents": "write", "workflows": "write" },
      "target": "uv-dev"
    },
    {
      "caller": "uv",
      "environment": "automations",
      "caller_ref": "refs/pull/*/merge",
      "caller_workflow": "ci.yml",
      "reusable_workflow": "pull-request-security-review.yml",
      "on": ["pull_request"],
      "permissions": { "pull_requests": "write" },
      "target": "uv"
    },
    {
      "caller": "uv-dev",
      "environment": "automations",
      "caller_workflow": "pull-request-conflicts.yml",
      "reusable_workflow": "rebase-conflicted-pull-request.yml",
      "on": ["push", "workflow_dispatch"],
      "permissions": { "contents": "write", "workflows": "write" },
      "target": "uv-dev"
    },
    {
      "caller": "uv",
      "environment": "automations",
      "caller_workflow": "pull-request-conflicts.yml",
      "reusable_workflow": "rebase-conflicted-pull-request.yml",
      "on": ["push", "workflow_dispatch"],
      "permissions": { "contents": "write", "workflows": "write" },
      "target": "uv-dev"
    },
    {
      "caller": "uv-dev",
      "environment": "automations",
      "caller_workflow": "diagnose-workflow-failure.yml",
      "on": ["workflow_dispatch"],
      "permissions": { "issues": "write" },
      "target": "uv-dev"
    },
    {
      "caller": "uv",
      "environment": "automations",
      "caller_workflow": "diagnose-workflow-failure.yml",
      "on": ["workflow_dispatch"],
      "permissions": { "issues": "write" },
      "target": "uv-dev"
    }
  ]
}
