# Cross Repo CI Relay (CRCR) Allowlist
#
# This document defines which downstream repositories can receive PyTorch
# PR events or feedback through CRCR. Each repository is assigned a level
# (L1-L4), which determines the depth to which downstream repositories can
# participate.
#
# Trust Levels:
#
#   L1 – Onboarding
#     Events are forwarded to downstream, but upstream receives no feedback.
#
#   L2 – Observation
#     Downstream CI results are displayed on the HUD page, but not on PRs.
#
#   L3 – Stable
#     Adds a non-blocking check run on PRs when ciflow/oot/<name> label is applied.
#
#   L4 – Mature
#     Adds a blocking check run on every PR; reserved for critical accelerators.
#
# For more information, see the RFC: https://github.com/pytorch/rfcs/pull/90

# Example:
#
# L1:
#   - org1/downstream-repo1
#
# L2:
#   - org2/downstream-repo2
#
# L3:
#   <LABEL_NAME>:
#     org3/downstream-repo3: [@oncall1,@oncall2]
#
# L4:
#   - org4/downstream-repo4: [@oncall1,@oncall2]

L1:
  - riseproject-dev/pytorch-ci
  - NVIDIA-dev/pytorch-oot-internal
  - RBLN-SW/torch-rbln
  - ROCm/pytorch-windows-ci
  - versi379/pytorch-tccl-ci:
      events:
        - nightly

L2:
  - NVIDIA/pytorch-windows-ci:
      events:
        - nightly
  - TorchedHat/pytorch-redhat-ci:
      events:
        - nightly
  - torch-spyre/torch-spyre:
      events:
        - pull_request
        - nightly
  # vLLM reports its scheduled nightly results directly through CRCR.
  - vllm-project/vllm:
      events:
        - nightly
  - Isalia20/pytorch-mps-ci:
      events:
        - nightly
  - google-pytorch/torch_tpu:
      events:
        - pull_request
        - nightly
  - aws-neuron/private-torch-neuronx:
      events:
        - nightly

L3:
  npu:
    Ascend/pytorch: [huangjingwei, kerer-ai, zyw-hw]
  # Canonical test repos for CRCR.
  crcr-test:
    pytorch/crcr-test: [atalman, can-gaa-hou, fffrog, jewelkm89, KarhouTam, subinz1]