Learning center

Should two repositories share a code review runner group?

Share a runner group only when each repository is authorized to schedule work on that pool and its jobs can be given equivalent access. Put workflows with different trust levels on different eligible pools. A label selects a capable runner inside the available set. The group controls which repositories or workflows can use its runners.

Separate the build with internal package access#

An organization has an internal product and a public example repo. The product's review workflow uses private packages. The example project accepts external contributions and needs only public dependencies. Using the same internally connected worker pool for both makes the organization rely on every public workflow variant keeping to that boundary.

Use the non-production product workflow to verify it can schedule in its approved group. Attempt the same scheduling under the public fixture's own workflow and confirm the restricted group is unavailable. Keep the result alongside the list of allowed repositories and workflows, and use a pool without internal package access for the example project. GitHub runner group access · GitHub guidance on self-hosted runner security

Once the groups reflect who may schedule work, test which services the workers can reach.

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading