---
title: "OIDC trust policies cover repositories by visibility"
date: 2026-11-20
tags:
  - "Test Engine"
  - "Merge Queue"
description: "An OIDC trust policy can now take repositories by their visibility, such as every private and internal repository, new ones included."
---

A trust policy used to take every repository, or name them one by one. Neither says "every private and internal repository": a list misses the repository someone creates tomorrow, and every repository takes in your public ones too.

Under a policy's repositories, pick By visibility and check public, internal or private. Mergify reads the repository's visibility from the job's ID token when the job runs, so a repository created later is covered by what it is, and one made public leaves a private-only policy. A job whose ID token gives no visibility is not matched by such a policy, and the exchange report says why.

Set it from Settings › CI Authentication or through the API. There is nothing to turn on.
